Re: Questions about producer API

2013-10-31 Thread Roger Hoover
Thank you, Neha. I mainly wanted to understand if it was because of historic reasons or some fundamental reason. I think managing configuration will be simpler if both sides use ZooKeeper for discovery. Great to hear about the client rewrite project going on. Thanks to you and the other contrib

Re: Questions about producer API

2013-10-30 Thread Neha Narkhede
Agree that it is somewhat awkward to use zookeeper for broker discovery on consumer, but a broker list on the producer. There were a couple of discussions on the mailing list suggesting using zookeeper on the producer, at least for discovering the brokers for the first time. However, we are startin

Questions about producer API

2013-10-30 Thread Roger Hoover
Hi, I'm still getting started with Kafka and was curious why there is an asymmetry between the producer and consumer APIs. Why does the producer config take a list of brokers where as the consumer config takes a list of brokers? Thanks, Roger