---
title: "KIP-679 explained: acks=all and idempotence by default"
description: "KIP-679 in plain words: why Kafka 3.0 switched producers to acks=all and idempotence by default, the ACL change behind it, and when it silently turns off."
url: https://monedula.dev/kafka/kips/kip-679/
---

# KIP-679: the safest producer settings became the default

Producers and transactions · Shipped · since Kafka 3.0 · status checked November 2026.

KIP-679 changed two producer defaults in Kafka 3.0: acks went from 1 to all and enable.idempotence from false to true. A producer with no special settings now waits for every in-sync replica and never writes duplicates on retry. To make that possible, idempotent producers only need WRITE on the topic instead of a cluster-wide IDEMPOTENT_WRITE ACL.

## At a glance

- Proposal: KIP-679, Producer will enable the strongest delivery guarantee by default
- Status: Shipped. Since Kafka 3.0 (2021); idempotence by default actually works from 3.0.1, 3.1.1 and 3.2.0.
- Area: Producers and transactions
- Proposal page: [KIP-679 on the Apache Kafka wiki](https://cwiki.apache.org/confluence/display/KAFKA/KIP-679%3A+Producer+will+enable+the+strongest+delivery+guarantee+by+default)

## Why it was needed

Before Kafka 3.0 the defaults favoured latency: acks=1 answered once the leader had the record, and retries could write duplicates. Most users never changed them, so a leader failure could lose acknowledged records and a lost acknowledgement could duplicate them. Idempotence was off partly because it needed the IDEMPOTENT_WRITE permission on the whole cluster, which few teams granted.

## What it changes

Kafka 2.8 prepared the ground: the broker started accepting idempotent producers with plain WRITE on any topic. Kafka 3.0 then flipped the defaults to acks=all and enable.idempotence=true. Idempotence still needs acks=all, retries above zero and at most five requests in flight. If a conflicting setting is present and idempotence was not set explicitly, the producer quietly turns idempotence off; if it was set explicitly, the producer fails with a ConfigException.

## How to use it

- Nothing to do on Kafka 3.2 or newer clients: acks=all and enable.idempotence=true are the defaults.
- If you set acks=1, retries=0 or more than five in-flight requests, you also lose idempotence; set enable.idempotence=true explicitly to get an error instead of a silent downgrade.
- A 3.x or newer producer talking to a broker older than 2.8 still needs the IDEMPOTENT_WRITE ACL or enable.idempotence=false.

## Where it stands

Shipped in Kafka 3.0. A bug (KAFKA-13598) kept idempotence off in 3.0.0 and 3.1.0 even though acks=all applied; it was fixed in 3.0.1, 3.1.1 and 3.2.0. Since Kafka 4.0 the producer no longer disables idempotence on its own when more than five requests are in flight.

## What comes next

The IDEMPOTENT_WRITE ACL operation is deprecated but still exists. Kafka Connect still turns idempotence off for its own producers by default, which the upgrade notes say may change in a future major release.

## See it in the simulator

- [Kafka enable.idempotence=false: a retry writes a duplicate](https://monedula.dev/kafka-simulator/scenarios/the-duplicate-problem/) (The duplicate problem), step 4: Duplicate: O1 now at offsets 0 AND 1. The re-sent copy replicates to the ISR and the high watermark advances to 2. With no sequence number to recognise the re-send, the broker treats it as a brand-new record - the log holds O1 twice. Retries without idempotence cause duplicates. [Open at this step](https://monedula.dev/kafka-simulator/playground/?scenario=01.3.2&t=3)
- [Kafka idempotent producer: retrying NOT_ENOUGH_REPLICAS](https://monedula.dev/kafka-simulator/scenarios/idempotence-retry/) (Idempotence retry), step 4: broker-2 back - the in-flight retry commits exactly once. No duplicate: the same record lands at offset 0 once the cluster heals. [Open at this step](https://monedula.dev/kafka-simulator/playground/?scenario=01.3.1&t=3)

## Sources

- [KIP-679: Producer will enable the strongest delivery guarantee by default](https://cwiki.apache.org/confluence/display/KAFKA/KIP-679%3A+Producer+will+enable+the+strongest+delivery+guarantee+by+default)
- [Apache Kafka upgrade notes up to 3.9](https://kafka.apache.org/39/getting-started/upgrade/)

## Related KIPs

- [KIP-98 explained: idempotent producer and transactions](https://monedula.dev/kafka/kips/kip-98/)
- [KIP-480 and KIP-794 explained: the sticky partitioner](https://monedula.dev/kafka/kips/kip-480/)
