Doing that doesn't really make sense in a Kafka cluster because the topic partitions and their replicas are spread out across many brokers in the cluster. That's what enables the parallel processing and fault tolerance features of Kafka.
-hans > On Aug 22, 2017, at 3:14 AM, Mohit Chawla <mohit.chawla.bin...@gmail.com> > wrote: > > Hi folks, > > Is it possible to pin kafka clients to use only specific brokers throughout > their lifetime and not just for the initial bootstrapping ? > > Thanks, > Mohit