Re: LeaderNotAvailable Exception
It seems you want the data in a topic to be consumed by multiple consumers
in a mutually exclusive way. Kafka offers this via consumer groups using
the zookeeper based consumer. The consumers in a consumer group pull data
from the configured topics in a way that, at a time, no two consumers get
the same data.