4 Lab: Multi-Cluster Replication

Kafka on Kubernetes with Strimzi · 4:16

Listen on 93

Lyrics

[Verse 1]
Two clusters standing in their namespaces apart
One primary, one secondary, playing their part
Deploy them both with custom resource definitions
Multi-cluster replication, that's our mission

[Chorus]
Mirror Maker Two connects the flow
Active-passive, watch the data go
Source to target, topics replicate
Failover ready, don't hesitate
Mirror Maker Two, the bridge between
Keeping clusters synchronized and clean

[Verse 2]
Configure the connector with source and target defined
Bootstrap servers pointing to clusters aligned
Topic patterns matching what we want to sync
Consumer groups and offsets, all in the link

[Chorus]
Mirror Maker Two connects the flow
Active-passive, watch the data go
Source to target, topics replicate
Failover ready, don't hesitate
Mirror Maker Two, the bridge between
Keeping clusters synchronized and clean

[Bridge]
When disaster strikes the primary down
Secondary cluster takes the crown
Consumer offsets translated through
Thanks to our Mirror Maker Two
Heartbeats flowing, checkpoints saved
Your data stream will be preserved

[Verse 3]
Simulate the failure, watch the switch
From active cluster without a hitch
Validate consumers find their place
Offset synchronization shows no trace
Of interruption in the data stream
Multi-cluster replication supreme

[Chorus]
Mirror Maker Two connects the flow
Active-passive, watch the data go
Source to target, topics replicate
Failover ready, don't hesitate
Mirror Maker Two, the bridge between
Keeping clusters synchronized and clean

[Outro]
Two namespaces, one solution bright
Strimzi makes replication right
Lab complete, you've learned the way
Multi-cluster works today

← 5 Disaster Recovery | 2 KRaft and Kafka Streams / Connect →