我正在尝试通过docker-compose文件或甚至通过安装kafka映像并手动运行来部署kafka.当我开始运行kafka服务器(经纪人)
I am trying to deploy kafka by docker-compose file or evenby installing kafka image and run it manually. Both of these steps are giving to me that error when I start to run kafka server(broker)
INFO启动客户端连接,connectString = 188.226.151.167:2181 sessionTimeout = 6000 watcher=org.I0Itec.zkclient.ZkClient@323b36e0(org.apache.zookeeper.ZooKeeper)[2017-05-16 13:44:49,903]信息等待管理器状态SyncConnected(org.I0Itec.zkclient.ZkClient)[2017-05-16 13:44:49,909]信息打开与服务器188.226.151.167/188.226.151.167:2181的套接字连接.不会尝试使用SASL进行身份验证(未知错误)(org.apache.zookeeper.ClientCnxn)[2017-05-16 13:44:55,904]信息终止ZkClient事件线程.(org.I0Itec.zkclient.ZkEventThread)
INFO Initiating client connection, connectString=188.226.151.167:2181 sessionTimeout=6000 watcher=org.I0Itec.zkclient.ZkClient@323b36e0 (org.apache.zookeeper.ZooKeeper) [2017-05-16 13:44:49,903] INFO Waiting for keeper state SyncConnected (org.I0Itec.zkclient.ZkClient) [2017-05-16 13:44:49,909] INFO Opening socket connection to server 188.226.151.167/188.226.151.167:2181. Will not attempt to authenticate using SASL (unknown error) (org.apache.zookeeper.ClientCnxn) [2017-05-16 13:44:55,904] INFO Terminate ZkClient event thread. (org.I0Itec.zkclient.ZkEventThread)
任何人都可以对发生的事情有清楚的解释,以及如何解决它的明确解释
Could anyone has clear explanation of what happens and the clear explanation about how to fix it
推荐答案通过禁用防火墙连接,它通过外部计算机解决了所有带有docker连接的kafka命令:ufw disable
It solved all kafka with docker connection by outside machines by disabling firewall connection Command: ufw disable
更多推荐
卡夫卡与Docker问题
发布评论