You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running a 3-node-cluster with a Zookeeper on each node, Kafka 2.0.0. Although trying different things and studying the readme, i do not get a connection to a broker on the same machine, or any broker of my cluster. I tried:
-zookeeper localhost:2181
-zookeeper <full qualified hostname>:2181
I also tried adding -broker-host, -broker-port and -broker-id, in different variations, no success. Error is unable to connect to broker, retrying in 5s (cannot connect).
Either i am missing something obvious that i could not extract from the Readme, or connection to a 2.0.0 broker is not possible. What is the commandline option(s) that is/are expected to do a health check against a local zookeeper/kafka? Thanks.
The text was updated successfully, but these errors were encountered:
INFO[0000] using topic broker-33-health-check for broker 33 health check
INFO[0000] using topic broker-33-health-check for broker 33 replication check
INFO[0005] unable to connect to broker, retrying in 5s (cannot connect)
INFO[0010] unable to connect to broker, retrying in 5s (cannot connect)
INFO[0014] unable to connect to broker, retrying in 5s (cannot connect)
@dl1ely and @mariano-dm I have the same issue and using the option -broker-id instead of -broker-host helped to solve my problem . Broker Id is an integer number (1,2,3...) which I see from kafka-manager tool. Hope this helps.
Update: broker.id is found in my configuration file: /opt/kafka/config/server.properties. My full command
Running a 3-node-cluster with a Zookeeper on each node, Kafka 2.0.0. Although trying different things and studying the readme, i do not get a connection to a broker on the same machine, or any broker of my cluster. I tried:
-zookeeper localhost:2181
-zookeeper <full qualified hostname>:2181
I also tried adding
-broker-host
,-broker-port
and-broker-id
, in different variations, no success. Error isunable to connect to broker, retrying in 5s (cannot connect)
.Either i am missing something obvious that i could not extract from the Readme, or connection to a 2.0.0 broker is not possible. What is the commandline option(s) that is/are expected to do a health check against a local zookeeper/kafka? Thanks.
The text was updated successfully, but these errors were encountered: