当前位置:   article > 正文

Fatal error during KafkaServer startup. Prepare to shutdown (kafka.server.KafkaServer) kafka.common.

fatal error during kafkaserver startup. prepare to shutdown (kafka.server.ka

问题呈现

zookeeper正常运行,但kafka进程一下就给掉了。。。

查看server.log,发现id不匹配

Fatal error during KafkaServer startup. Prepare to shutdown (kafka.server.KafkaServer)
kafka.common.InconsistentClusterIdException: The Cluster ID YOIAaEFQTxOxKawUXmUcGw doesn’t match stored clusterId Some(VZ-h-2APRFydv_OisSEfxQ) in meta.properties. The broker is trying to join the wrong cluster. Configured zookeeper.connect may be wrong.

解决方法

修改meta.properties(在${kafka_home}/logs)的id,和报错信息统一就可。

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/知新_RL/article/detail/662940
推荐阅读
相关标签
  

闽ICP备14008679号