conduktor.io ↗

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

Produce · Metadata

Details

AuthorApurva Mehta
StatusAccepted
Kafka Version1.0
JIRAKAFKA-5793
WikiView on Apache Wiki
Created2017-08-29
Last Modified2017-09-21
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.