[ 
https://issues.apache.org/jira/browse/KAFKA-1344?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13956749#comment-13956749
 ] 

Ivan Lyutov commented on KAFKA-1344:
------------------------------------

Added this feature to OldProducer as well, removed --compress option since it's 
redundant.
So, now you can run it as follows:
bin/kafka-console-producer.sh --broker-list localhost:9092 --topic test 
--new-producer --compression-codec (snappy|gzip) - with new producer
or
bin/kafka-console-producer.sh --broker-list localhost:9092 --topic test 
--compression-codec (0|1|2) - with old producer
or
bin/kafka-console-producer.sh --broker-list localhost:9092 --topic test - with 
old producer, without compression at all, since argument is optional


> Kafka-console-producer.sh support snappy compression
> ----------------------------------------------------
>
>                 Key: KAFKA-1344
>                 URL: https://issues.apache.org/jira/browse/KAFKA-1344
>             Project: Kafka
>          Issue Type: Improvement
>            Reporter: aio
>              Labels: tools, usability
>             Fix For: 0.8.2
>
>         Attachments: KAFKA-1344_2014-03-31_21:13:57.patch, 
> KAFKA-1344_2014-04-01_19:50:43.patch
>
>
> Wish kafka-console-producer.sh support snappy compression.
> Thanks.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to