kafka-example
kafka-example copied to clipboard
Error al iniciarlizar kafka
Al inicializar el docker-compose sale el siguiente error:
kafka-3_1 | [main-SendThread(localhost:32181)] INFO org.apache.zookeeper.ClientCnxn - Socket error occurred: localhost/127.0.0.1:32181: Connection refused kafka-1_1 | [main-SendThread(localhost:22181)] INFO org.apache.zookeeper.ClientCnxn - Socket error occurred: localhost/127.0.0.1:22181: Connection refused kafka-2_1 | [main-SendThread(localhost:42181)] INFO org.apache.zookeeper.ClientCnxn - Opening socket connection to server localhost/127.0.0.1:42181. Will not attempt to authenticate using SASL (unknown error)
Según al documentación de docker hay que crear un bridge.