conduktor.io ↗

KIP-1269 — Configurable number of batches to retain in broker

Discussion BrokerProducer

Introduces a configurable broker-side limit on the number of producer batch sequence numbers retained for idempotent deduplication, replacing the hardcoded constant ProducerStateEntry#NUM_BATCHES_TO_RETAIN (currently 5). This hardcoded value forces max.in.flight.requests.per.connection to be ≤5 for idempotent producers, artificially limiting producer throughput.

Protocol Impact

Produce · InitProducerId

Details

AuthorPoAn Yang
StatusDiscussion
JIRAKAFKA-17967
WikiView on Apache Wiki
Created2026-01-08
Last Modified2026-03-20
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.