Metadata Management of Kafka in Confluent Platform
Metadata storage and leader elections for Apache Kafka® have traditionally handled by ZooKeeper, but as of Confluent Platform 7.5, ZooKeeper is deprecated for new deployments.
You should now use KRaft mode for new deployments.
For more details on what KRaft is, see KRaft Overview for Confluent Platform
For hardware requirements and how to configure and monitor KRaft see KRaft Configuration for Confluent Platform
For steps to migrate from ZooKeeper to KRaft (Early access), see Migrate from ZooKeeper to KRaft on Confluent Platform
For how to configure ZooKeeper for production use, see ZooKeeper Configuration Reference for Confluent Platform