2 Strimzi MirrorMaker 2 Configuration

Apache Kafka with Kubernetes · 4:34

Listen on 93

Lyrics

[Verse 1]
When you need to mirror Kafka streams across the wire
KafkaMirrorMaker2 CRD is what you require
Define your source and target clusters in the spec
Connect them with replication that you can inspect

[Chorus]
Mirror, mirror, data flows
From source to target, watch it go
Filters and patterns, sync in time
Replication policies by design
Mirror, mirror, keep it straight
Uni or bi-directional fate

[Verse 2]
Uni-directional sends one way, source to destination
Active-active flows both ways for full replication
Choose your pattern based on needs, disaster recovery
Or active-active for the load, shared delivery

[Chorus]
Mirror, mirror, data flows
From source to target, watch it go
Filters and patterns, sync in time
Replication policies by design
Mirror, mirror, keep it straight
Uni or bi-directional fate

[Verse 3]
Topic filters let you choose what gets replicated
Include patterns bring them in, exclude keeps them waited
Regular expressions rule the matching game you play
Consumer groups can filter too in the very same way

[Bridge]
Sync intervals control the speed
How often data flows you need
Seconds, minutes, find your pace
Replication policy in place

[Verse 4]
Default policy renames topics with cluster prefix
Source dot cluster dot topic name, that's how it sticks
Override with custom rules if defaults don't fit right
Heartbeats and checkpoints keep your mirroring tight

[Chorus]
Mirror, mirror, data flows
From source to target, watch it go
Filters and patterns, sync in time
Replication policies by design
Mirror, mirror, keep it straight
Uni or bi-directional fate

[Outro]
Configure your clusters, set your rules
MirrorMaker2 gives you the tools
Strimzi makes it Kubernetes native
Cross-cluster replication, so creative

← Talks & Articles