conduktor.io ↗

KIP-936 — Throttle number of active PIDs

Discussion BrokerTransactions

KIP-936 proposes a configurable cap on the maximum number of active producer IDs (PIDs) tracked by `ProducerStateManager` per broker, with throttling or rejection when the limit is reached. Since KIP-679 made idempotent producers the default, every producer instance is assigned a PID; a large number of short-lived or restarting producers can cause `ProducerStateManager` to accumulate unbounded in-memory state, risking OOM errors.

Protocol Impact

Produce

Details

AuthorOmnia Ibrahim
StatusDiscussion
JIRAKAFKA-15063
WikiView on Apache Wiki
Created2023-05-23
Last Modified2024-06-13
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.