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

CompressionUtils introduces a GZIP header while compressing empty message sets

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.7
    • 0.7
    • None
    • None

    Description

      The CompressionUtils helper class takes in a sequence of messages and compresses those, using the appropriate codec. But even if it receives an empty sequence, it still ends up adding a GZIP compression header to the data, efffectively "adding" data to the resulting ByteBuffer. This doesn't match with the behavior for uncompressed empty message sets. CompressionUtils should be fixed by removing this side-effect.

      Attachments

        1. KAFKA-109.patch
          1 kB
          Neha Narkhede
        2. KAFKA-109.patch
          4 kB
          Neha Narkhede

        Activity

          People

            Unassigned Unassigned
            nehanarkhede Neha Narkhede
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: