3 The Quorum Controller

Apache Kafka Distributed Systems · 3:20

Listen on 93

Lyrics

[Verse 1]
In the cluster there's a group of three
Controllers waiting patiently
One will rise to lead the way
While the others stand and obey
Raft consensus makes the choice
Every node gets to have a voice

[Chorus]
Leader, followers, quorum control
Terms and votes, that's how we roll
Controller quorum voters config
Keeps the cluster running quick
Epochs fence the stale away
Active controller rules the day

[Verse 2]
When election time comes around
Candidates make their voting sound
Higher terms will always win
New leadership can begin
Majority makes the final call
One true leader above them all

[Chorus]
Leader, followers, quorum control
Terms and votes, that's how we roll
Controller quorum voters config
Keeps the cluster running quick
Epochs fence the stale away
Active controller rules the day

[Bridge]
Configuration holds the key
Who can vote, who's in the quorum spree
Three or five, it's odd you see
Split brain problems can't break free
When the leader writes its mark
Epoch numbers light the dark

[Verse 3]
Fencing keeps the old ones out
Stale controllers filled with doubt
Higher epochs take command
Lower numbers must disband
No more dual writes can occur
Active leader's voice is sure

[Chorus]
Leader, followers, quorum control
Terms and votes, that's how we roll
Controller quorum voters config
Keeps the cluster running quick
Epochs fence the stale away
Active controller rules the day

[Outro]
KRaft consensus, strong and true
Quorum controller sees us through
Leader election, clean and bright
Kafka's future burning bright

← 2 The Metadata Log (`__cluster_metadata` topic) | 3 Why Strimzi? →