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

Outdated and misleading link in section "End-to-end Batch Compression"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Duplicate
    • 0.10.1.1
    • None
    • compression
    • None
    • Documentation

    Description

      The section "End-to-end Batch Compression" mentions the following:
      "Kafka supports GZIP, Snappy and LZ4 compression protocols. More details on compression can be found here."

      When looking up the "here" link, https://cwiki.apache.org/confluence/display/KAFKA/Compression, it describes not only the mechanism, but also gives the configuration properties to use. The properties provided are "compression.codec" and "compression.topics", but these are no longer used. Instead, one should use "compression.type", where one can directly specify which compression to use (i.e. currently gzip, snappy or lz4). The link also fails to mention lz4 compression, which is supported by now.

      Not aware that this information is outdated, I spent quite some time before finding out that I was using the wrong properties. I imagine this must happen to more people.

      I suggest adding a small remark to the link, so that people know it is outdated. Furthermore, I would add that the latest configuration properties can be found in the "Producer config" section.

      The alternative would be to simply remove the link all together, as there is too much outdated information in it.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              vincent.tieleman Vincent Tieleman
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: