box 2 has ZooKeeper (2181) and Control Center (9021)
When we startup Control Center, for some reason it looks like it is trying to connect using localhost/127.0.0.1:9092…but this is NOT correct and NOT what is set in the properties file.
For some reason Control Center running on box 2 is not connecting to Kafka on box 1.
Of course… sudo ./control-center-start /devkafka/confluent-7.0.1/etc/confluent-control-center/control-center.properties
Something new discovered, if Zookeeper is NOT running, the process says it can’t connect to box 1 (proper address) but if Zookeeper is running, it says it can’t connect to localhost
server.1 should point to the servername where zookeeper is running
server.x=[hostname]:nnnnn[:nnnnn], etc
servers making up the ZooKeeper ensemble. When the server starts up, it determines which server it is by looking for the file myid in the data directory. That file contains the server number, in ASCII, and it should match x in server.x in the left hand side of this setting. The list of servers that make up ZooKeeper servers that is used by the clients must match the list of ZooKeeper servers that each ZooKeeper server has. ZooKeeper Administrator's Guide
I don’t think it is the right host…we have been trying to run control center on either box and it seems like we get the same thing…we had broker.id=1 so we changed it to auto generation…trying it now
did you try to telnet from the control center host to the broker?
did you check with nestat on which interface the host is listening?
i would also recommend to check if the kafka cluster is running fine
to rule this as a potential source of errors
(e.g. create a dummy topic after starting zookeeper and kafka)
Having trouble replying, says something about a 2 hr limit. We have hit the wall so we are starting over…we are wiping out what we did and starting over.
We should be able to run Zookeeper, Kafka, and Control Center on the same machine right? Using localhost for all the host names?
Did this and we are getting the same error…something with the license module saying failed to get offsets by times…