conduktor.io ↗

KIP-679 — Producer will enable the strongest delivery guarantee by default

Accepted Kafka 2.8 Producer

Changes the producer defaults to `enable.idempotence=true`, `acks=all`, `retries=MAX_INT`, and `max.in.flight.requests.per.connection=5` to enable exactly-once delivery by default. Previously the defaults (`enable.idempotence=false`, `acks=1`) prioritized backward compatibility over correctness, leaving users exposed to duplicates and data loss without explicit configuration.

Protocol Impact

Produce

Details

AuthorCheng Tan
StatusAccepted
Kafka Version2.8
JIRAKAFKA-10619
WikiView on Apache Wiki
Created2020-10-19
Last Modified2022-02-14
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.