Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-1264

Make ConsoleProducer compression codec configurable

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Duplicate
    • 0.8.0
    • 0.8.2.0
    • producer
    • None

    Description

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

      Attachments

        1. kafka-1264-v1.patch
          2 kB
          Kieren Hynd

        Issue Links

          Activity

            People

              junrao Jun Rao
              kieren Kieren Hynd
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: