Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

It adds the following options into the Producer, Broker, and Topic configurations:

  • compression.gzip.buffer: the buffer size that feeds raw input into the Deflator or is fed by the uncompressed output from the Deflator. (available: [512, ), default: 8192(=8kb).)
  • compression.snappy.block: the block size that snappy uses. (available: [1024, ), default: 32768(=32kb).)
  • compression.lz4.block: the block size that lz4 uses. (available: [4, 7], (means 64kb, 256kb, 1mb, 4mb respectively), default: 4.)
  • compression.zstd.window: enables long mode; the log of the window size that zstd uses to memorize the compressing data. (available: [10, 22], default: 0 (disables long mode.))

...

If the user uses gzip, the buffer size of `BufferedInputStream` BufferedInputStream, which reads the decompressed data from `GZIPInputStream` GZIPInputStream, is impacted by `compression`compression.gzip.buffer`buffer`. In other cases, there are no explicit changes.

...