Closed DevonPeroutky closed 6 years ago
hi @DevonPeroutky
Here is your problem.
CONTROL_CENTER_BOOTSTRAP_SERVERS: 'http://localhost:9092'
CONTROL_CENTER_ZOOKEEPER_CONNECT: 'http://localhost:2181'
should be
CONTROL_CENTER_BOOTSTRAP_SERVERS: 'localhost:9092'
CONTROL_CENTER_ZOOKEEPER_CONNECT: 'localhost:2181'
Kafka and Zookeeper are their own TCP protocols and are not http based. Also make sure those are correct. You're basically saying that the control center container should connect to it's container. Zookeeper and Kafka are not running there. Look at cp-demo for a good example.
I have kafka and zookeeper running on the same machine running as standalone processes. I am attempting to run the control center, on the same machine, using the following docker-compose file:
I am able to connect to the cluster using console producer/consumers, but the ControlCenter has the following error:
Any idea what could be going on? Do the brokers need extra configuration in the
server.properties
?