2 Step-by-Step Migration Process

Apache Kafka & Strimzi · 3:49

Listen on 93

Lyrics

[Verse 1]
Time to leave the old ZooKeeper days behind
Upgrade first to KRaft-compatible design
Check your version, make it right
Before we start this migration flight
Controllers need their special place
Format storage, set the base

[Chorus]
Six steps dancing, migration song
Upgrade, deploy, enable strong
Dual-write magic, restart the crew
Finalize bridge when we're through
KRaft controllers take the lead
ZooKeeper's time to let them succeed

[Verse 2]
Deploy controller-role nodes with care
Storage formatting everywhere
Run kafka-storage script today
Format metadata the proper way
New controllers standing by
Ready for the metadata high

[Chorus]
Six steps dancing, migration song
Upgrade, deploy, enable strong
Dual-write magic, restart the crew
Finalize bridge when we're through
KRaft controllers take the lead
ZooKeeper's time to let them succeed

[Verse 3]
Enable migration flag is true
ZooKeeper metadata migration enable too
Activate controllers now
Dual-writing starts somehow
Metadata flows to both sides
While the old and new collides

[Bridge]
Rolling restart every broker node
Switch process roles, change the code
From ZooKeeper base to broker-only mode
One by one down the cluster road
Watch them boot with their new role
KRaft connection takes control

[Verse 4]
Finally time to cut the cord
Disable bridge, migration's reward
Decommission ZooKeeper crew
Their faithful service now is through
KRaft stands alone at last
ZooKeeper becomes the past

[Chorus]
Six steps dancing, migration song
Upgrade, deploy, enable strong
Dual-write magic, restart the crew
Finalize bridge when we're through
KRaft controllers take the lead
ZooKeeper's time to let them succeed

[Outro]
From keeper old to KRaft so new
Migration complete, we made it through
Metadata flows in modern way
KRaft controllers here to stay

← 2 Installing Strimzi | 3 How Strimzi Maps Kafka to Kubernetes Primitives →