conduktor.io ↗

KIP-1299 — Use key range in ProducerPerformance

Accepted Kafka 4.4 ProducerTesting

Adds key distribution support to kafka-producer-perf-test via --key-distribution (none|random|fixed) and --key-range parameters, enabling benchmarks that produce keyed messages. The tool previously always used null keys, making performance results systematically optimistic and unable to reflect real workloads that depend on semantic partitioning, stream joins, or cross-cluster replication.

Details

AuthorKen Huang
StatusAccepted
Kafka Version4.4
JIRAKAFKA-967
WikiView on Apache Wiki
Created2026-03-24
Last Modified2026-05-28
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.