You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@kafka.apache.org by xu <xu...@163.com> on 2016/07/11 14:41:49 UTC

whether compressed data is still compressed in broker log

Hi All:
       I update broker version from 0.8.2 to 0.10.0 and set "compression.type=snappy" in server.properties. Version of  producers and consumers is still 0.8.2.  I expect all the new data received by brokers is stored compressedly in log files. But the result is in contrast。


     My question is the same with: http://stackoverflow.com/questions/31168085/checking-kafka-data-if-compressed.


    I donot understand how compressed data is stored in log files. Could you help me?

Re:whether compressed data is still compressed in broker log

Posted by xu <xu...@163.com>.
When I set compression.type=gzip, it works very well, but snappy not.



At 2016-07-11 22:41:49, "xu" <xu...@163.com> wrote:

Hi All:
       I update broker version from 0.8.2 to 0.10.0 and set "compression.type=snappy" in server.properties. Version of  producers and consumers is still 0.8.2.  I expect all the new data received by brokers is stored compressedly in log files. But the result is in contrast。


     My question is the same with: http://stackoverflow.com/questions/31168085/checking-kafka-data-if-compressed.


    I donot understand how compressed data is stored in log files. Could you help me?