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
| Author | Ken Huang |
| Status | Accepted |
| Kafka Version | 4.4 |
| JIRA | KAFKA-967 |
| Wiki | View on Apache Wiki |
| Created | 2026-03-24 |
| Last Modified | 2026-05-28 |
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.