[
https://issues.apache.org/jira/browse/KAFKA-1264?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kieren Hynd updated KAFKA-1264:
-------------------------------
Attachment: kafka-1264-v1.patch
Patch changes '{{compress}}' boolean option for the same '{{compression-codec
<Int>}}' the Producer perf test supports.
> 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.1.5#6160)