Idempotent Producer: Limits on In‑Flight Requests and Retry Behavior
Idempotent Producer Limits The Kafka idempotent producer, introduced in 0.11, guarantees that a message with a given producer ID and sequence number is written at most once to a partition. To preserve ordering, the feature requires that max.in.flight.requests.per.connection be set to 5 or less. Retry Handling and Partial Writes When a producer retries after