Hi Josef, I would suggest reaching out to the Apache ZooKeeper community who would be able to give you the best guidance on your ZooKeeper deployments. In the meantime, I would also suggest reviewing the offical ZooKeeper docs ( https://zookeeper.apache.org/documentation.html) as well.
Edward On Mon, 17 Jul 2023, 11:44 , <josef.zahn...@swisscom.com> wrote: > Hi guys > > > > Today we have just one datacenter with a few NiFi clusters, so we use a > dedicated 3-node zookeeper cluster in that datacenter. We are now planning > to expand to another datacenter, so we would like to split the NiFis as > well as zookeeper. However 2 zookeeper nodes is not a good quorum number, > so we had to idea to do the following regarding zookeeper: > > > > - Datacenter 1: 2 zookeeper nodes > - Datacenter 2: 2 zookeeper nodes > - Location 3 (another small DC): 1 zookeper node -> no NiFis > > > > All locations are connected via dark fiber, however the third location is > bit more far away from the others. Now, as we anyway split the NiFi > clusters over the two datacenters. Shall we limit the NiFi zookeeper > clients (state-management.xml) to the zookeeper nodes located within the > same datacenter? Any comments to our design idea? How do you deploy NiFis > over multiple regions/datacenters from zookeeper perspective? > > > > Cheers Josef >