Exception in thread "main" org.I0Itec.zkclient.exception.ZkTimeoutException: Unable to co
来源:互联网 发布:淘宝盖楼是什么 编辑:程序博客网 时间:2024/04/29 13:59
问题:用Kafka创建topic时报错:Exception in thread "main" org.I0Itec.zkclient.exception.ZkTimeoutException: Unable to connect to zookeeper server within timeout: 30000
出现原因:多样,比如kafka没启动,服务器时间不同,防火墙没关。(下面的解决办法只供参考)
解决办法:
1、启动kafka。
2、请核实个服务器的时间。
3、关闭防火墙。
1 1
- Exception in thread "main" org.I0Itec.zkclient.exception.ZkTimeoutException: Unable to co
- org.I0Itec.zkclient.exception.ZkTimeoutException
- org.I0Itec.zkclient.exception.ZkTimeoutException: Unable to connect to zookeeper server within timeo
- org/i0itec/zkclient/exception/zknonodeexception zookeeper dubbo
- Exception in thread "main" org.hibernate.InvalidMappingException: Unable to read XML
- kafka.common.ConsumerRebalanceFailedException-org.I0Itec.zkclient.exception.ZkNoNodeException
- Caused by java.lang.ClassNotFoundException org.I0Itec.zkclient.exception.ZkNoNodeException
- Caused by: java.lang.ClassNotFoundException: org.I0Itec.zkclient.exception.ZkNoNodeException
- Exception in thread "main" org.hibernate.MappingNotFoundException
- Exception in thread "main" org.hibernate.MappingException
- Exception in thread "main" java.lang.UnsatisfiedLinkError: Unable to load library
- dubbo 报错:java.lang.NoClassDefFoundError: org/I0Itec/zkclient/exception/ZkNoNodeException
- Exception in thread "main" java.lang.IllegalAccessError: tried to access field org.slf4j.impl.Static
- Exception in thread "main" org.javalite.activejdbc.InitException: failed to determine Model class na
- Exception in thread "main" org.hibernate.HibernateException: Access to DialectResolutionInfo cannot
- Exception in thread "main" org.hibernate.AnnotationException: List/array has to be annotated with an
- Exception in thread "main" org.hibernate.QueryException: illegal attempt to dereference collection
- Exception in thread "main" org.hibernate.HibernateException: Access to DialectResolutionInfo cannot
- 程序员必备知识——fork和exec函数详解
- APK反编译各工具下载集合
- 佟刚老师《Spring4视频教程》学习笔记(1)--转载
- Linux指令_查看CPU相关运行信息top
- jquery的ajax同步和异步
- Exception in thread "main" org.I0Itec.zkclient.exception.ZkTimeoutException: Unable to co
- 求解素数-埃拉托斯特尼筛法
- iOS开发 -- SVN的使用
- 如何向以json对象为元素的数组中追加一个新的元素
- java 计时器线程 Timer类
- 领域驱动设计之代码优先-架构描述 (通译)
- iOS开发 -- main.m文件解析
- iOS开发 -- 懒加载
- 共用体和枚举,写写意思下