You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "chia7712 (via GitHub)" <gi...@apache.org> on 2026/01/05 11:30:14 UTC

Re: [PR] KAFKA-7632: Support Compression Levels (KIP-390) [kafka]

chia7712 commented on code in PR #15516:
URL: https://github.com/apache/kafka/pull/15516#discussion_r2661185848


##########
clients/src/main/java/org/apache/kafka/common/record/MemoryRecords.java:
##########
@@ -293,14 +294,15 @@ private static MemoryRecordsBuilder buildRetainedRecordsInto(RecordBatch origina
                                                                  ByteBufferOutputStream bufferOutputStream,
                                                                  final long deleteHorizonMs) {
         byte magic = originalBatch.magic();
+        Compression compression = Compression.of(originalBatch.compressionType()).build();

Review Comment:
   open https://issues.apache.org/jira/browse/KAFKA-20036



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: jira-unsubscribe@kafka.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org