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 library
examples have a consumer client pointing to 9092. for example here
https://github.com/apache/kafka/blob/trunk/examples/src/main/java/kafka/examples/Producer.java#L34
shouldn't both producer and consumer point to zookeeper port 2181? which I am
assuming will do the lookup?
Thanks,Kant

Reply via email to