Kafka
  1. Kafka
  2. KAFKA-746

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

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: 0.7.2
    • Fix Version/s: None
    • Component/s: producer
    • Labels:
      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.

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Jun Rao
            Reporter:
            Esko Suomi
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:

              Development