Apache Kafka 4.0, released in March 2025, removed ZooKeeper mode completely. A 4.x broker cannot read metadata from ZooKeeper, and there is no flag to turn it back on. If your cluster still runs with zookeeper.connect, the upgrade to 4.x is a two-stage project: migrate to KRaft on a 3.x release, then upgrade the KRaft cluster to 4.x.We moved three ZooKeeper-based clusters this way. This guide covers the path, each migration phase and where you can still roll back, how to size the KRaft controlle...