I use kafka 0.8.1.1 with Java. There are many partitions in my service. Each partition has a producer or a consumer through a state control it. When state is master, i will stop consumer and shutdown the ConsumerConnecter. When state is slave, i will create a new ConsumerConnecter. So i must have many connections to zookeeper. Now I want to create multiple ConsumerConnecter with only one zk connect.
Does kafka have some way to implement this. Thanks