Yes, that is all correct--the consumer will use zookeeper for discovery and
then make direct connections to the appropriate brokers on 9092 or whatever
port you have configured.

-Jay

On Wed, Oct 8, 2014 at 3:32 PM, ravi singh <rrs120...@gmail.com> wrote:

> I have few questions regarding Kafka Consumer.
>
> In kafka properties we only mention the zookeeper ip's to connect to.
> But I assume the consumer also connects to Kafka broker for actually
> consuming the messages.
>
> We have firewall enabled on ports, so in order to connect from my consumer
> I need to open port for both zookeeper and kafka. Is my assumption correct?
>
> Also does the consumer also connects on the broker port (which is 9092 by
> default)?
>
> --
> *Regards,*
> *Ravi*
>

Reply via email to