Linked Questions

Popular Questions

I have 3 broker kafka cluster with 3 zookeeper.

My question is if we have to give only one IP address in producer-console.sh file like below

/kafka-console-producer.sh --broker-list 192.168.7.110:9092 --topic test

or all the three ip addressess

./kafka-console-producer.sh --broker-list 192.168.7.110:9092,192.168.5.110:9092,192.168.3.111:9092 --topic test

What will happen if I provide only one IP to produce messages and that IP is shutdown after sometime. Will I be able to produce messages through that IP or not or I have to give all the IP addresses?

Related Questions