# Can we create multiple broker cluster connecting to single zookeeper cluster

**URL:** <https://forum.confluent.io/t/can-we-create-multiple-broker-cluster-connecting-to-single-zookeeper-cluster/7519>\
**Category:** Architecture and Design\
**Created:** [29 March 2023 06:15 UTC](https://forum.confluent.io/t/can-we-create-multiple-broker-cluster-connecting-to-single-zookeeper-cluster/7519 "2023-03-29T06:15:22Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lisha](https://avatars.discourse-cdn.com/v4/letter/l/a9a28c/32.png) [@Lisha](https://forum.confluent.io/u/Lisha)\
**Post date:** [29 March 2023 06:15 UTC](https://forum.confluent.io/t/can-we-create-multiple-broker-cluster-connecting-to-single-zookeeper-cluster/7519/1 "2023-03-29T06:15:22Z")

</div>

Hi

I am looking for a solution for multi-tenant platform. I am not looking to build lot of brokers which might impact the performance.  
What I am thinking is to create individual cluster for each tenant but managed by single zookeeper. This can also avoid noisy neighbour situation. Is this possible and advisable. Can replication and schema registry be implemented this architecture.

Regards  
Lisha

---

<div class="post-metadata">

**Author:** ![OneCricketeer](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.confluent.io/onecricketeer/32/1551_2.png) [@OneCricketeer](https://forum.confluent.io/u/OneCricketeer)\
**Post date:** [5 April 2023 02:04 UTC](https://forum.confluent.io/t/can-we-create-multiple-broker-cluster-connecting-to-single-zookeeper-cluster/7519/2 "2023-04-05T02:04:22Z")

</div>

Zookeeper clusters should have 3, 5, or 7 servers at most, not “single” instances. Assuming you actually want to use Zookeeper instead of KRaft mode…

Multiple Kafka clusters can use the same Zookeeper cluster, or you can use one Zookeeper cluster per Kafka cluster. This depends on your own benchmarking and requirements.

Schema Registry and other components only require Kafka, not a direct connection to Zookeeper.

---

<div class="post-metadata">

**Author:** ![Lisha](https://avatars.discourse-cdn.com/v4/letter/l/a9a28c/32.png) [@Lisha](https://forum.confluent.io/u/Lisha)\
**Post date:** [5 April 2023 05:41 UTC](https://forum.confluent.io/t/can-we-create-multiple-broker-cluster-connecting-to-single-zookeeper-cluster/7519/3 "2023-04-05T05:41:03Z")

</div>

Yes, I have built a kafka cluster and one zookeeper(5 servers) cluster.  
Was looking for an optimum solution for a multi-tenant solution.

Is there any reference document available for multiple kafka cluster with same zookeeper cluster. Any pros and cons.

Regards  
Lisha

---

<div class="post-metadata">

**Author:** ![OneCricketeer](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.confluent.io/onecricketeer/32/1551_2.png) [@OneCricketeer](https://forum.confluent.io/u/OneCricketeer)\
**Post date:** [5 April 2023 07:54 UTC](https://forum.confluent.io/t/can-we-create-multiple-broker-cluster-connecting-to-single-zookeeper-cluster/7519/4 "2023-04-05T07:54:36Z")

</div>

There is no official documentation, other than the Apache Kafka documentation section on zookeeper.connect itself

You’d use cluster1:2181/kafka1 and cluster1:2181/kafka2, for examples to create a Zookeeper chroot of each cluster.

Again, this is only relevant when not using Kafka KRaft mode.
