spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cody Koeninger <c...@koeninger.org>
Subject Re: Kafka Direct Approach + Zookeeper
Date Wed, 13 May 2015 13:44:20 GMT
Either one will work, there is no semantic difference.

The reason I designed the direct api to accept both of those keys is
because they were used to define lists of brokers in pre-existing Kafka
project apis.  I don't know why the Kafka project chose to use 2 different
configuration keys.

On Wed, May 13, 2015 at 5:00 AM, James King <jakwebinbox@gmail.com> wrote:

> From: http://spark.apache.org/docs/latest/streaming-kafka-integration.html
>
> I'm trying to use the direct approach to read messages form Kafka.
>
> Kafka is running as a cluster and configured with Zookeeper.
>
>  On the above page it mentions:
>
> "In the Kafka parameters, you must specify either *metadata.broker.list*
>  or *bootstrap.servers*.  ..."
>
> Can someone please explain the difference of between the two config
> parameters?
>
> And which one is more relevant in my case?
>
> Regards
> jk
>

Mime
View raw message