---
title: "KIP-853 explained: adding and removing KRaft controllers"
description: "KIP-853 in plain words: how Kafka lets you add or remove KRaft controllers without downtime, static versus dynamic quorums, and the commands to use."
url: https://monedula.dev/kafka/kips/kip-853/
---

# KIP-853: change the KRaft controller quorum without downtime

Cluster and operations · Shipped · since Kafka 3.9 · status checked November 2026.

KIP-853 made the set of KRaft controllers changeable while the cluster runs. Before it, the voters were fixed in every node's configuration, so replacing a controller machine meant reconfiguring and restarting the whole quorum. With a dynamic quorum you add or remove a controller with one command.

## At a glance

- Proposal: KIP-853, KRaft Controller Membership Changes
- Status: Shipped. Dynamic quorums since Kafka 3.9 (2024); upgrading a static quorum since 4.1.
- Area: Cluster and operations
- Proposal page: [KIP-853 on the Apache Kafka wiki](https://cwiki.apache.org/confluence/display/KAFKA/KIP-853%3A+KRaft+Controller+Membership+Changes)

## Why it was needed

The first KRaft releases took the controller list from controller.quorum.voters, identical on every node. Losing a controller disk, moving to new hardware or growing from three to five controllers all required a carefully ordered restart of every node, the kind of operation that causes outages.

## What it changes

The voter set is now stored in the metadata log itself, as a record the quorum agrees on like any other change. Each controller is identified by its node id plus a directory id, so a wiped disk is recognised as a new replica. Nodes find the quorum through controller.quorum.bootstrap.servers instead of a fixed voter list.

## How to use it

- Format new clusters with kafka-storage.sh format --standalone, --initial-controllers or --no-initial-controllers to get a dynamic quorum.
- Add or remove controllers with kafka-metadata-quorum.sh add-controller and remove-controller.
- Upgrade an existing static quorum on Kafka 4.1 or later by enabling kraft.version=1, then replace controller.quorum.voters with controller.quorum.bootstrap.servers.

## Where it stands

Shipped in Kafka 3.9 for new clusters; converting a static quorum became possible in Kafka 4.1. Kafka 4.2 added automatic joining of new controllers, and Kafka 4.4 added unregistering controllers (KIP-1312).

## What comes next

Work continues on operating the quorum, for example changing dynamic configs on controllers (Kafka 4.3). The static controller.quorum.voters setting is deprecated.

## See it in the simulator

- [Kafka KRaft dynamic quorum: add and remove controllers](https://monedula.dev/kafka-simulator/scenarios/dynamic-quorum/) (Dynamic quorum: replace a lost controller), step 4: c3 joins as an observer. A replacement controller, c3, is formatted with --no-initial-controllers and started. It joins the quorum as an OBSERVER: it fetches __cluster_metadata from the leader but has no vote, so the voters are still c0, c1, c2 and the majority is still 2. c3 starts at offset 0, two records behind the leader. [Open at this step](https://monedula.dev/kafka-simulator/playground/?scenario=15.1.5&t=3)
- [Kafka KRaft dynamic quorum: add and remove controllers](https://monedula.dev/kafka-simulator/scenarios/dynamic-quorum/) (Dynamic quorum: replace a lost controller), step 7: c3 is a voter: 4 voters, majority 3. add-controller succeeds: c0 commits a VotersRecord that adds c3 (offset 3). The quorum now has 4 voters, so a majority is floor(4/2)+1 = 3. c2 is still dead, so 3 of 4 are up and every live voter is needed: losing one more would freeze the control plane. [Open at this step](https://monedula.dev/kafka-simulator/playground/?scenario=15.1.5&t=6)
- [Kafka KRaft dynamic quorum: add and remove controllers](https://monedula.dev/kafka-simulator/scenarios/dynamic-quorum/) (Dynamic quorum: replace a lost controller), step 9: Remove dead c2: 3 voters, majority 2. kafka-metadata-quorum remove-controller retires c2, which is never coming back. c0 commits a VotersRecord without it (offset 4). The voters are c0, c1, c3: 3 of 3 up, majority 2 again, so one voter can fail without stopping the quorum. [Open at this step](https://monedula.dev/kafka-simulator/playground/?scenario=15.1.5&t=8)
- [Kafka KRaft quorum: losing a majority of controllers](https://monedula.dev/kafka-simulator/scenarios/kraft-quorum/) (KRaft quorum), step 2: Standby c2 killed - 2 of 3 voters, majority holds, c0 active. One standby voter, c2, is killed. Two of three voters remain reachable - still a majority - so the quorum holds and c0 keeps serving as active controller. A KRaft cluster tolerates losing a minority of its voters with zero disruption to the control plane. [Open at this step](https://monedula.dev/kafka-simulator/playground/?scenario=15.1.2&t=1)
- [Kafka KRaft quorum: losing a majority of controllers](https://monedula.dev/kafka-simulator/scenarios/kraft-quorum/) (KRaft quorum), step 7: Voter c1 restored - majority back, frozen election completes. c1 is restarted. Two of three voters are reachable again - the majority is back - so c0 is the active controller once more. The frozen election completes immediately: broker-3, the last surviving ISR member (at LEO=HW), is elected leader of orders-0. Nothing was done to the brokers; restoring a single VOTER is what unblocked the data plane. The ISR is now one replica, below min.ISR=2, so acks=all writes wait for a broker to return - but the partition is led and readable again. [Open at this step](https://monedula.dev/kafka-simulator/playground/?scenario=15.1.2&t=6)

The simulator treats every KRaft quorum as dynamic and commits a voter change at once; it does not model directory ids, which Kafka uses with the node id to name a voter.

## Sources

- [KIP-853: KRaft Controller Membership Changes](https://cwiki.apache.org/confluence/display/KAFKA/KIP-853%3A+KRaft+Controller+Membership+Changes)
- [Apache Kafka 4.4: KRaft operations](https://kafka.apache.org/44/operations/kraft/)
- [Apache Kafka 3.9.0 release announcement](https://kafka.apache.org/blog/2024/11/06/apache-kafka-3.9.0-release-announcement/)

## Related KIPs

- [KIP-595 explained: the Raft protocol behind KRaft](https://monedula.dev/kafka/kips/kip-595/)
- [KIP-500 explained: KRaft replaces ZooKeeper](https://monedula.dev/kafka/kips/kip-500/)
