Kafka works under subcontext or chroot

Status: We use a zookeeper with kafka and several different services that use the coordinator for coordination. They work well on the zookeeper subcontext. Looks like that:

/
   /service1/...
   /service2/...
   /brokers/...
   /consumers/...

My question is: is it possible to configure kafka to use subcontext? Therefore, other services cannot ultimately change the subcontext of other services. This will:

/
   /service1/...
   /service2/...
   /kafka/brokers/...
   /kafka/consumers/...

I saw this syntax in other projects:

gk: //10.0.0.1,10.0.0.2/kafka

let's say. Thus, kafka will only see the paths brokersand consumers, and there will be no way to spoil the other subcontext.

, . , ? -? ? , . , zookeeper , , 3 .

!

+4
1

zk chroot Kafka, Kafka .

Zookeeper "chroot", . Kafka zookeeper. hostname1: port1, hostname2: port2, hostname3: port3/chroot/path, /chroot/path. , , .

ZooKeeper ( , , ). ZK.

Kafka documentation ZK- ZK:

: , , ZooKeeper ( ).

+5

All Articles