2 Step-by-Step Migration Process

sitar blues, prog ambient noise wall, jungle afrobeat · 4:14

Listen on 93

Lyrics

[Verse 1]
Time to migrate from the old ZooKeeper ways
First we upgrade to a KRaft-compatible phase
Check your version numbers, make sure they align
Before we start the journey, everything must shine

[Chorus]
Six steps forward, no looking back
Deploy, enable, activate the track
Rolling restart, then finalize clean
KRaft migration, smooth as a machine
Dual-writing metadata, controllers take the lead
From ZooKeeper bridges to the future we need

[Verse 2]
Deploy those controller nodes with their special role
Format their storage with kafka-storage control
Run the script with careful hands, prepare the ground
New leadership waiting to be found

[Chorus]
Six steps forward, no looking back
Deploy, enable, activate the track
Rolling restart, then finalize clean
KRaft migration, smooth as a machine
Dual-writing metadata, controllers take the lead
From ZooKeeper bridges to the future we need

[Verse 3]
Set the migration flag to true
Zookeeper metadata migration, pushing through
Enable equals true, the bridge comes alive
Controllers activate, dual-writing will thrive

[Bridge]
Rolling restart time, broker by broker
Process roles switching, no longer a joker
From ZK-based handling to broker-only clean
The most elegant transition you've ever seen

[Verse 4]
Finalize migration, disable the bridge
Decommission ZooKeeper from ridge to ridge
The ensemble retires, its duty complete
KRaft controllers make the circle complete

[Chorus]
Six steps forward, no looking back
Deploy, enable, activate the track
Rolling restart, then finalize clean
KRaft migration, smooth as a machine
Dual-writing metadata, controllers take the lead
From ZooKeeper bridges to the future we need

[Outro]
Upgrade, deploy, enable the way
Activate, restart, finalize today
KRaft migration, perfectly planned
The future of Kafka is now in your hands

← 1 Migration Strategy Overview | 3 Rollback & Risk Management →