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

Snappy compression isn't applied to messages written to disk on broker

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 0.7.2
    • None
    • producer
    • None

    Description

      We recently tested 0.7.2 performance using different compression codecs for messages and noticed that when using Snappy (compression.codec = 2 in Producer configuration) the messages written to topic partitions were written without compression. Compared to GZIP (compression.codec = 1) this is especially peculiar since with GZIP the partition files themselves were compressed as expected.

      I did walk through the 0.8 code briefly and didn't spot any obvious reasons why this would be happening so I'm now handing this issue completely into your able hands.

      Attachments

        Activity

          People

            junrao Jun Rao
            parantumaton Esko Suomi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: