config/producer.properties contains property compression.codec which doesn't have any effect on producer work:
# specify the compression codec for all data generated: none, gzip, snappy, lz4.
# the old config values work as well: 0, 1, 2, 3 for none, gzip, snappy, lz4, respectively
compression.codec=none
compression.type setting must be used instead of compression.codec setting.
After setting compression.type=gzip I observed change of compression rate from 1.0 to a fractional value below 1 via JMX.
config/producer.properties contains property compression.codec which doesn't have any effect on producer work:
# specify the compression codec for all data generated: none, gzip, snappy, lz4. # the old config values work as well: 0, 1, 2, 3 for none, gzip, snappy, lz4, respectively compression.codec=none
compression.type setting must be used instead of compression.codec setting. After setting compression.type=gzip I observed change of compression rate from 1.0 to a fractional value below 1 via JMX.