ijuma commented on code in PR #13135: URL: https://github.com/apache/kafka/pull/13135#discussion_r1082622801
########## clients/src/main/java/org/apache/kafka/common/record/CompressionType.java: ########## @@ -126,6 +144,11 @@ public OutputStream wrapForOutput(ByteBufferOutputStream buffer, byte messageVer public InputStream wrapForInput(ByteBuffer buffer, byte messageVersion, BufferSupplier decompressionBufferSupplier) { return ZstdFactory.wrapForInput(buffer, messageVersion, decompressionBufferSupplier); } + + @Override + public int getRecommendedDOutSize() { + return 16 * 1024; // 16KB Review Comment: The PR says: > we pushed the skipping of key/value logic to zstd-jni implementation instead of using the one provided by BufferedInputStream -- 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