I haven't changed anything from
and it looks like it is pointing to zookeeper.
Does producer client need to point 9092 and Consumer need to point 2181? is that
the standard? Why not both point to the same thing?

On Thu, Sep 15, 2016 4:24 AM, Ali Akhtar ali.rac...@gmail.com
Examine server.properties and see which port you're using in there

On Thu, Sep 15, 2016 at 3:52 PM, kant kodali <kanth...@gmail.com> wrote:

which port should I use 9091 or 9092 or 2181 to send messages through kafka

when using a client Library?

I start kafka as follows:

sudo bin/zookeeper-server-start.sh config/zookeeper.propertiessudo

./bin/kafka-server-start.sh config/server.properties

and I dont see any process running on 9091 or 9092 however lot of client


examples have a consumer client pointing to 9092. for example here



shouldn't both producer and consumer point to zookeeper port 2181? which I


assuming will do the lookup?


Reply via email to