conduktor.io ↗

compression.lz4.level — Kafka Broker Configuration

The compression level to use if compression.type is set to lz4.

Description

The compression level to use if compression.type is set to lz4.

Default Values by Kafka Version

Kafka VersionDefault Value
3.89
3.99
4.09
4.19
4.29

Tuning Recommendation

ProfileRecommendedWhy
producer / throughput1LZ4 level 9 is the maximum compression but 6-8x slower than level 1; level 1 still achieves 70-80% of the compression ratio at >400MB/s throughput, optimal for high-throughput pipelines.

Related Configs

compression.type

Manage Kafka configs across all your clusters with Conduktor Console — view, compare, and update configurations in one place.