KIP-778 — KRaft to KRaft Upgrades
Accepted Kafka 3.3 KRaftProtocol
KIP-778 defines the rolling upgrade and downgrade protocol for Kafka clusters running in KRaft mode, gating new RPC versions and metadata record formats behind a cluster-wide metadata version (KV) that is only bumped once all nodes are upgraded. Without this mechanism, mixed-version KRaft clusters could produce or process record formats incompatible with older nodes, making safe rolling upgrades impossible without a disruptive "double roll".
Protocol Impact
Details
| Author | David Arthur |
| Status | Accepted |
| Kafka Version | 3.3 |
| JIRA | KAFKA-13410 |
| Wiki | View on Apache Wiki |
| Created | 2021-09-24 |
| Last Modified | 2023-04-24 |
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.