Hi

I am implementing a producer.

                    * ZkClient zkClient = new ZkClient(zookeeperUrl,
40000, 60000, new BytesPushThroughSerializer());*
* List<String> brokerIdList = zkClient.getChildren("/brokers/ids");*

I am able to get Ids of the brokers. But I couldn't figure out how to get
the urls of those brokers to set to *metadata.broker.list*
Is there any alternative way to load broker urls dynamically?

-- 
Thanks...
Raj Vaida
+91 897 775 0777

Reply via email to