Configured broker.id 2 doesn‘t match stored broker.id 3 in meta.properties
完整报错:
(Python3.6) appleyuchi@Laptop:config$ [2020-12-17 14:09:03,904] ERROR Fatal error during KafkaServer startup. Prepare to shutdown (kafka.server.KafkaServer)
kafka.common.InconsistentBrokerIdException: Configured broker.id 2 doesn't match stored broker.id 3 in meta.properties. If you moved your data, make sure your configured broker.id matches. If you intend to create a new broker, you should remove all data in your data directories (log.dirs).
at kafka.server.KafkaServer.getOrGenerateBrokerId(KafkaServer.scala:767)
at kafka.server.KafkaServer.startup(KafkaServer.scala:226)
at kafka.server.KafkaServerStartable.startup(KafkaServerStartable.scala:44)
at kafka.Kafka$.main(Kafka.scala:82)
at kafka.Kafka.main(Kafka.scala)
原因①:
在启动过kafka之后,已经在$KAFKA/logs/meta.properties中生成了broker.id
在修改了该节点的$KAFKA/config/server.properties中的broker.id以后
然后再次启动,就会导致上述问题.
因为此时$KAFKA/config/server.properties中的broker.id与$$KAFKA/logs/meta.properties中的broker.id发生不一致了.
原因②:
$KAFKA/config/server.properties中被改掉了
那么启动kafka以后就会在最新的log.dirs路径中与该路径原有的meta.properties中的broker.id产生冲突
解决方案:
删除$KAFKA/logs整个文件夹,然後重啟kafka集群即可
Configured broker.id 2 doesn‘t match stored broker.id 3 in meta.properties相关推荐
- The Cluster ID xxx doesn't match stored clusterId Some(xxx) in meta.properties. The broker is trying
今天在启动kafka集群的时候报了如下错误 ERROR Fatal error during KafkaServer startup. Prepare to shutdown (kafka.serve ...
- kafka报错 The Cluster ID yjMbix25TJ6VpXSNceA72w doesn‘t match stored clusterId Some(yqcsYK4cSJKkhfu6k
@[TOC](The Cluster ID yjMbix25TJ6VpXSNceA72w doesn't match stored clusterId Some(yqcsYK4cSJKkhfu6kR0 ...
- kafka启动失败The Cluster ID *** doesn‘t match stored clusterId Some(***) in meta.properties The broker
前言: 启动kafka遇到问题,就是应用启动没有进行消费kafka数据导致,应用无数据入库,需要排查下问题: 1.对kafka进行重启设置,添加 startup.sh nohup bin/kafka ...
- kafka报错:The Cluster ID doesn‘t match stored clusterId Some in meta.properties
kafka启动报错: ERROR Fatal error during KafkaServer startup. Prepare to shutdown (kafka.server.KafkaServ ...
- kafka.common.InconsistentClusterIdException: The Cluster ID doesn‘t match stored clusterId Some()
一 问题描述 kafka启动失败,报错: [2021-05-10 11:22:43,263] ERROR Fatal error during KafkaServer startup. Prepare ...
- kafka.common.InconsistentClusterIdException: The Cluster ID 8ytUwdxNRXqINczxiKozcA doesn‘t match sto
因为启动中致命的异常而退出kafka [2022-10-13 17:23:48,759] ERROR Exiting Kafka due to fatal exception during start ...
- 【问题解决】mybatis 类型不匹配两种解决办法 -Result type not match for select id=“selectUser“ srcType: com.kuang.pojo
问题描述: Result type not match for select id="selectUser"srcType: com.kuang.pojo.UsertargetTy ...
- mysql 当前id前后几个,使用mysql选择id前后的行
I need to get the IDs around an ID with mySQL. Example: IDs in the table: 2, 4, 5, 9, 11, 15, 19, ...
- php设置id递增,php实现雪花算法(ID递增)
雪花算法简单描述: 最高位是符号位,始终为0,不可用. 41位的时间序列,精确到毫秒级,41位的长度可以使用69年.时间位还有一个很重要的作用是可以根据时间进行排序. 10位的机器标识,10位的长度最 ...
最新文章
- RHEL6.3配置Apache服务器(4) 基于用户的访问控制
- SpringBoot+webservice
- Android之android studio如何把项目分享到github并提修改的代码到Github
- 如何成为一名有效的软件工程师
- linux系统中怎么复制,linux下如何屏幕拷贝?
- sscanf 连续相同编辑符_基于单调栈的滑动窗口法求解“和至少为 K 的最短连续子数组”...
- 【Oracle】利用trace文件重建控制文件
- 豆瓣关于计算机视觉的书评及介绍
- 读《财务就是IT 企业财务信息系统》
- 种子文件多服务器,别再问我什么是 BT 种子了!一次性全告诉你
- iOS 网页截取长图
- ECS架构 Entitas-CSharp学习之路(三)
- 懒人神器,IDEA插件之EasyCode,自动生成CRUD代码
- Linux磁盘挂载、扩容、删除
- 纯干货-17 分布式深度学习原理、算法详细介绍
- fedora 14下建立samba服务器
- 《幸运大转盘》代码分享
- 美团外卖大数据“杀熟”,程序员成了“接锅侠”,简直不讲武德!
- 课后作业——Day9
- Adobe国际认证证书对职业应聘有用吗?
热门文章
- UE4 代理 BindRaw和BindUObject
- 涨姿势:Java 异常?尝试自定义异常
- php-css外边距
- 为现有的表添加自增列id并赋值
- arm-linux-ld: cannot find -lgcc,/arm-linux-gnueabi/bin/ld: cannot find crt1.o
- python search函数 中文_python使用正则表达式的search()函数实现指定位置搜索功能...
- 活跃用户数怎么计算_留存率计算
- JQuery中的类选择器
- vscode中experimentaldecorators报错
- vue-cli简单使用心得