divijvaidya commented on code in PR #13135: URL: https://github.com/apache/kafka/pull/13135#discussion_r1082366873
########## clients/src/main/java/org/apache/kafka/common/compress/ZstdFactory.java: ########## @@ -26,21 +26,25 @@ import org.apache.kafka.common.utils.ByteBufferInputStream; import org.apache.kafka.common.utils.ByteBufferOutputStream; -import java.io.BufferedInputStream; import java.io.BufferedOutputStream; +import java.io.DataInputStream; import java.io.InputStream; import java.io.OutputStream; import java.nio.ByteBuffer; public class ZstdFactory { + /** + * Default compression level + */ + private static final int DEFAULT_COMPRESSION_LEVEL = 3; Review Comment: FYI reviewer This change is a no-op since we are already using the default value of 3 when no value is provided. This change has been made to make it explicit in Kafka code that we are using compression level of 3 with zstd. -- 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-unsubscr...@kafka.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org