see-quick opened a new pull request, #20367: URL: https://github.com/apache/kafka/pull/20367
This PR implements [KIP-780](https://cwiki.apache.org/confluence/display/KAFKA/KIP-780%3A+Support+fine-grained+compression+options): Per-codec compression configuration. In addition to compression.type and compression.level (KIP-390), Kafka now exposes tunable codec-specific parameters for Producer, Broker, and Topic configs. Supported options: - GZIP: buffer, strategy - Snappy: block - LZ4: block - Zstd: level, window, workers All defaults match existing behaviour → no migration required. These options allow users to trade off throughput, compression ratio, CPU, and memory depending on the workload (e.g., Snappy/LZ4 for speed, Zstd/Gzip for compression ratio). Benchmarks demonstrate codec-dependent trade-offs across synthetic and real-world (Debezium) datasets. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: jira-unsubscr...@kafka.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org