conduktor.io ↗

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

UpdateFeatures · ApiVersions

Details

AuthorDavid Arthur
StatusAccepted
Kafka Version3.3
JIRAKAFKA-13410
WikiView on Apache Wiki
Created2021-09-24
Last Modified2023-04-24
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.