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

Make ConsoleProducer compression codec configurable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 0.8.0
    • Fix Version/s: 0.8.2.0
    • Component/s: producer
    • Labels:
      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

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: