ZkTimeoutException: Unable to connect to zookeeper server within timeout: 10000
来源:互联网 发布:java 数据权限 编辑:程序博客网 时间:2024/06/05 03:20
zookeeper server 3.4.11, kafka 1.0 on ubuntu 16
spring cloud stream on Mac OS X.
spring cloud stream version 1.3.0 (zookeeper-3.4.8.jar, zkclient-0.9.jar)
possible cause 1: zookeeper client version doesn't match zk server version
把zookeeper server换成了3.4.8, 问题依旧.
possible cause 2: timeout value not big enough
reference: http://blog.csdn.net/u013274055/article/details/77725620
怎么修改default的10000呢
没找到, 放弃
最后, 发现是一个低级错误引起, zkNodes和brokers的端口配置反了, zkNodes配了9092, brokers配了2181, 反过来就对了, 最后的配置是:
spring.cloud.stream.kafka.binder.zkNodes=192.168.0.109:2181
spring.cloud.stream.kafka.binder.brokers=192.168.0.109:9092
阅读全文
0 0
- ZkTimeoutException: Unable to connect to zookeeper server within timeout: 10000
- zookeeper Unable to connect to zookeeper server within timeout: 5000
- Unable to connect to zookeeper server within timeout: 5000
- org.I0Itec.zkclient.exception.ZkTimeoutException: Unable to connect to zookeeper server within timeo
- kafka远程客户端 运行producer线程 时报 Unable to connect to zookeeper server within timeout: 400
- dubbo-provider启动报错:Unable to connect to zookeeper server within timeout: 5000
- unable to start within 450 seconds if the server reuires more time try increasing the timeout
- was unable to start within 45 seconds. If the server requires more time, try increasing the timeout
- unable to connect to converter enterprise server
- Server Tomcat was unable to start within 45 seconds.
- Server at localhost was unable to start within 45 seconds
- Server at localhost was unable to start within 45 seconds
- Server .. was unable to start within 45 seconds.
- Server at localhost was unable to start within 45 seconds
- Unable to connect to CUPS server localhost:631 - C
- 解决Error: Unable to connect to BackupPC server
- C028: "Unable to Connect to the Siebel Gateway Name Server
- Unable to connect to the remote server 问题
- restful的无状态理解
- 从核心技术到实践应用——你的数据库深度挖掘指南
- linux根目录
- 电脑中有多个Eclipse设置jdk
- Windows屏蔽TouchPad Driver Diagnostics
- ZkTimeoutException: Unable to connect to zookeeper server within timeout: 10000
- JQUERY的父,子,兄弟节点查找方法
- ubuntu过期版本软件源
- 虚拟机设置共享文件夹
- argparse参数
- RabbitMQ Exchange模式之Direct
- QT的多语言实现
- http协议及其请求
- Android之Glide获取图片Path和Glide获取图片Bitmap