[ https://issues.apache.org/jira/browse/KAFKA-1605?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14103553#comment-14103553 ]
Prashant Deva commented on KAFKA-1605: -------------------------------------- why not just connect to zookeeper at startup, gather the broker ips from it, then close the connection? this way you dont have to deal with open connections to zookeeper and users of the api dont have to explictly pass in the broker ips. > Producer should not require metadata.broker.list > ------------------------------------------------ > > Key: KAFKA-1605 > URL: https://issues.apache.org/jira/browse/KAFKA-1605 > Project: Kafka > Issue Type: Improvement > Affects Versions: 0.8.1.1 > Reporter: Prashant Deva > > Producer should just query the zookeeper and get the list of brokers from it > directly. > With the current requirement the producer explicitly needs to know the ips of > all the brokers. So if you decide to replace them, you have to change the > Producer's code. > Isnt the whole point of using a zookeeper to avoid these kind of dependencies? -- This message was sent by Atlassian JIRA (v6.2#6252)