KIP-192 — Provide cleaner semantics when idempotence is enabled
Accepted Kafka 1.0 ProducerTransactions
Fixes two idempotent producer edge cases: ensures `RecordMetadata` returned for records in a failed batch contains the correct assigned sequence number instead of -1, and enforces that `enable.idempotence=true` also requires `acks=all` and disables retries from being set to 0. The existing behavior allowed users to configure idempotence with settings that silently undermined its guarantees, and returned uninformative metadata on failure.
Protocol Impact
Details
| Author | Apurva Mehta |
| Status | Accepted |
| Kafka Version | 1.0 |
| JIRA | KAFKA-5793 |
| Wiki | View on Apache Wiki |
| Created | 2017-08-29 |
| Last Modified | 2017-09-21 |
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.