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

Guozhang Wang commented on KAFKA-1264:
--------------------------------------

Thanks for the patch. Could also change the corresponding compression config in 
NewShinyProducer?

> Make ConsoleProducer compression codec configurable
> ---------------------------------------------------
>
>                 Key: KAFKA-1264
>                 URL: https://issues.apache.org/jira/browse/KAFKA-1264
>             Project: Kafka
>          Issue Type: Improvement
>          Components: producer 
>    Affects Versions: 0.8.0
>            Reporter: Kieren Hynd
>            Assignee: Jun Rao
>            Priority: Minor
>         Attachments: kafka-1264-v1.patch
>
>
> The ConsoleProducer --compress option only gives a toggle between 
> DefaultCompressionCodec (GZIP) and NoCompressionCodec.
> Since the snappy-java .jar is bundled with Kafka, could the ConsoleProducer 
> mimic the ProducerPerformance.scala options to be an Int (0 = None, 1 = GZIP, 
> 2 = SNAPPY)?



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

Reply via email to