卡夫卡与Docker问题

编程入门 行业动态 更新时间:2024-10-21 17:40:57
本文介绍了卡夫卡与Docker问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我正在尝试通过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问题

本文发布于:2023-11-26 00:34:18,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1631949.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:卡夫卡   Docker

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!