Commit c22b1c8
committed
Correct idempotent producer claim: session survives reconnection
The previous text incorrectly stated that connection drops during
draining cause idempotent producers to lose their session state.
In fact, producers retain their PID and sequence numbers in client
memory across reconnections — the broker deduplicates retries using
(PID, epoch, sequence) per partition, not per connection. A new PID
is only assigned on producer process restart.
References: KIP-360, Idempotent Producer design doc, KIP-854.
Assisted-by: Claude claude-opus-4-6 <noreply@anthropic.com>
Signed-off-by: Sam Barker <sam@quadrocket.co.uk>1 parent ecb452b commit c22b1c8
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
114 | | - | |
| 114 | + | |
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
| |||
0 commit comments