You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Kieren Hynd (JIRA)" <ji...@apache.org> on 2014/02/14 02:02:08 UTC

[jira] [Updated] (KAFKA-1264) Make ConsoleProducer compression codec configurable

     [ 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)