Since toolkit version 1.6, the default compression type for the MessageHubProducer is lz4 to increase the throughput to the broker.
To enable non-Streams application consuming published messages, they must use the lz4 Java library, i.e. have it in their classpath. The lz4 compression is not part of the Kafka client library. It must be installed separately (same is valid for snappy compression/decompression). Applications that have not yet installed the lz4 library are broken.
Thats why the default setting for compression.type producer config must be either none, or gzip if this works out of the box.
Workaround: Use the producer config compression.type=none.
Since toolkit version 1.6, the default compression type for the MessageHubProducer is
lz4
to increase the throughput to the broker.To enable non-Streams application consuming published messages, they must use the lz4 Java library, i.e. have it in their classpath. The lz4 compression is not part of the Kafka client library. It must be installed separately (same is valid for snappy compression/decompression). Applications that have not yet installed the lz4 library are broken.
Thats why the default setting for
compression.type
producer config must be eithernone
, orgzip
if this works out of the box.Workaround: Use the producer config
compression.type=none
.