Kafka 4 removed ZooKeeper: migrating to KRaft through the 3.9 bridge release
Kafka 4.0 runs only in KRaft mode, so a ZooKeeper-based cluster cannot be upgraded in one step. The path through Kafka 3.9, each migration phase and its rollback point, controller quorum sizing, and the other 4.0 breaking changes to check first.