dongjinleekr commented on code in PR #10826: URL: https://github.com/apache/kafka/pull/10826#discussion_r916852124
########## clients/src/main/java/org/apache/kafka/common/compress/KafkaLZ4BlockOutputStream.java: ########## @@ -41,6 +41,10 @@ public final class KafkaLZ4BlockOutputStream extends OutputStream { public static final String CLOSED_STREAM = "The stream is already closed"; + public static final int MIN_COMPRESSION_LEVEL = 1; + public static final int MAX_COMPRESSION_LEVEL = 17; Review Comment: I tried to, but `LZ4Constants` is not accessable from outside of the package. ([#](https://github.com/lz4/lz4-java/blob/master/src/java/net/jpountz/lz4/LZ4Constants.java)) -- 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