You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by "lhotari (via GitHub)" <gi...@apache.org> on 2024/10/30 12:28:33 UTC

Re: [PR] [improve][client][PIP-389] Add a producer config to improve compression performance [pulsar]

lhotari commented on code in PR #23525:
URL: https://github.com/apache/pulsar/pull/23525#discussion_r1822521896


##########
pulsar-client/src/main/java/org/apache/pulsar/client/impl/conf/ProducerConfigurationData.java:
##########
@@ -189,6 +189,8 @@ public class ProducerConfigurationData implements Serializable, Cloneable {
     )
     private CompressionType compressionType = CompressionType.NONE;
 
+    private int compressMinMsgBodySize = 4 * 1024; // 4kb

Review Comment:
   Thanks for sharing the reasoning.



-- 
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: commits-unsubscribe@pulsar.apache.org

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