1 High Availability

Kafka Operations on Kubernetes · 4:26

Listen on 93

Lyrics

[Verse 1]
When your Kafka needs to stay alive
Three brokers minimum to survive
One can fail but two remain
Keeping all your data streams in the game
Min in-sync replicas set to two
Guarantees your writes will make it through
No single point can bring you down
High availability wears the crown

[Chorus]
Three brokers strong, two in sync
PDBs so you never sink
Spread across the zones with care
Anti-affinity everywhere
High availability, that's the key
Kafka running endlessly
Three brokers strong, two in sync
That's the HA missing link

[Verse 2]
Pod disruption budgets guard your fleet
Kubernetes updates won't skip a beat
Maximum unavailable set to one
Rolling restarts won't leave you undone
Topology spread constraints take the stage
Distribute pods across every cage
Zones and regions, spread them wide
Failure domains can't coincide

[Chorus]
Three brokers strong, two in sync
PDBs so you never sink
Spread across the zones with care
Anti-affinity everywhere
High availability, that's the key
Kafka running endlessly
Three brokers strong, two in sync
That's the HA missing link

[Bridge]
Anti-affinity rules enforce the law
No two brokers on the same node raw
Required during scheduling time
Preferred when resources are prime
Topology keys define the scope
Hostname, zone, or region rope
Spread your brokers far and wide
Let availability be your guide

[Verse 3]
When disaster strikes a whole data center
Your design will be the dissenter
Cross-region spread keeps you alive
While others crash, you will thrive
Strimzi configs make it clean
Best availability you've ever seen
Three the magic number stays
For your always-running days

[Chorus]
Three brokers strong, two in sync
PDBs so you never sink
Spread across the zones with care
Anti-affinity everywhere
High availability, that's the key
Kafka running endlessly
Three brokers strong, two in sync
That's the HA missing link

[Outro]
Remember the rule of three and two
High availability will see you through
Spread and protect with budget care
Kafka's always running everywhere

← 6 Lab: Cluster Upgrade & Rebalance | 4 Lab: CDC Pipeline with Debezium →