You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@kafka.apache.org by Virendra Pratap Singh <vp...@yahoo-inc.com.INVALID> on 2015/10/29 00:35:38 UTC

Using kafka brokers to obtain topic metadata vs zookeepers

The topic level metadata is available with every broker in kafka and also in zookeepers.   Kafka producer API uses list of brokers while the high level kafka consumer (scala) uses the zookeeper host list.

Is there a reason for this two different behavior. And would it suffice to use the zookeeper to get topic and related partition and leader broker info?
  Guess I am treating zookeeper quorum as a VIP alternative to obtain topic/partition/broker info and not rely on setting up a broker VIP or a list of brokers. 

Regards,Virendra