2 What is KRaft?

Apache Kafka Distributed Systems · 3:06

Listen on 93

Lyrics

[Verse 1]
ZooKeeper's been the guardian for years
Managing our cluster state and fears
But now there's something new to learn
KRaft has arrived, it's Kafka's turn
No more external dependencies
Built right into the core with ease

[Chorus]
KRaft is Kafka Raft, eating our own dog food
Metadata as events, just like we always should
Controller nodes in quorum, no ZooKeeper in sight
Event-based consensus, keeping everything tight
KRaft, KRaft, built into the heart
KRaft, KRaft, this is where we start

[Verse 2]
A quorum of controllers takes the stage
Replacing ZooKeeper's ensemble page
Three or five nodes voting as one
Raft protocol makes sure it gets done
Leader election happens clean and fast
Finally a solution that will last

[Chorus]
KRaft is Kafka Raft, eating our own dog food
Metadata as events, just like we always should
Controller nodes in quorum, no ZooKeeper in sight
Event-based consensus, keeping everything tight
KRaft, KRaft, built into the heart
KRaft, KRaft, this is where we start

[Bridge]
Every partition assignment flows as an event
Topic configurations, all the messages sent
Consumer group changes logged in time
Using Kafka's own power, everything's in rhyme
The event log holds the cluster's brain
Metadata streaming through every lane

[Chorus]
KRaft is Kafka Raft, eating our own dog food
Metadata as events, just like we always should
Controller nodes in quorum, no ZooKeeper in sight
Event-based consensus, keeping everything tight
KRaft, KRaft, built into the heart
KRaft, KRaft, this is where we start

[Outro]
From KIP five hundred came this gift
Architecture's getting quite a lift
KRaft consensus, strong and true
Kafka's future starts with you

← 1 The KRaft Protocol (Raft Implementation) | 4 Broker Lifecycle in KRaft →