apache-kafkaapache-kafka-connectapache-zookeeperconfluent-platformkraft

Can Single kraft controllers setup handle multiple kafka setups?


Can a Kafka Controller Cluster support multiple Kafka setups like ZooKeeper does (with chroot paths)?"

Existing setup: In existing setup we are using single zookeeper setup for multiple kafka setups(8). one ZooKeeper cluster handling multiple Kafka clusters using different paths (/kafka-cluster1, /kafka-cluster2, etc.

Expected one: As we are planning to migrate kafka from zookeeper to kraft so i would like to know do we have that possibility in kraft like single kafka controller setup can support multiple kafka setups?

Please help me with your insights on this..


Solution

  • No, this is not possible in KRaft mode. A KRaft controller quorum handles a single Kafka cluster.

    One feature of KRaft is that a server can be both a broker and controller at the same time (combined mode). Note however that this is not recommended for critical production environments. See https://kafka.apache.org/documentation/#kraft_role