Github user koeninger commented on the pull request:
https://github.com/apache/spark/pull/3798#issuecomment-72780349
High level consumers connect to ZK.
Simple consumers (which is what this is using) connect to brokers directly
instead. See
https://cwiki.apache.org/confluence/display/KAFKA/0.8.0+SimpleConsumer+Example
I chose to accept either of the two existing means in Kafka of specifying a
list of seed brokers, rather than making up yet a third way
On Tue, Feb 3, 2015 at 8:36 PM, Tathagata Das <[email protected]>
wrote:
> Why did you choose the parameters "metadata.broker.list" and the
> "bootstrap.servers" as the required kafka params? I looked at the Kafka
> docs, and it says that for consumers, the necessary properties are
> "zookeeper.connect" and "group.id". And intuitively the application is
> consuming, so the consumer configs should apply (not "group.id", but
> "zookeeper.connect"). So our interface should also require
> "zookeeper.connect" and not other two. Isnt it?
>
> â
> Reply to this email directly or view it on GitHub
> <https://github.com/apache/spark/pull/3798#issuecomment-72779779>.
>
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]