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

Posted rhgaiymm

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了ERROR Fatal error during KafkaServer startup. Prepare to shutdown (kafka.server.KafkaServer)相关的知识,希望对你有一定的参考价值。

启动kafka时,kafka进程无法启动,查阅log发现存在如下问题:

2020-07-04 10:44:54,659] ERROR Fatal error during KafkaServer startup. Prepare to shutdown (kafka.server.KafkaServer)
kafka.common.InconsistentClusterIdException: The Cluster ID GG0_OhvsReio3iqC7tMqTg doesn‘t match stored clusterId Some(GIt9-opdTQC_PKpS1GM6Zg) in meta.properties. The broker is trying to join the wrong cluster. Configured zookeeper.connect may be wrong.
at kafka.server.KafkaServer.startup(KafkaServer.scala:218)
at kafka.server.KafkaServerStartable.startup(KafkaServerStartable.scala:44)
at kafka.Kafka$.main(Kafka.scala:84)
at kafka.Kafka.main(Kafka.scala)

 

修改kafka的log文件夹中meta.properties的如下配置:

cluster.id=xx
broker.id=xx

cluster.id修改为与log中报错的cluster.id一致

broker.id修改为与server.properties中broker.id一致

以上是关于ERROR Fatal error during KafkaServer startup. Prepare to shutdown (kafka.server.KafkaServer)的主要内容,如果未能解决你的问题,请参考以下文章

安装 Tableau Desktop 时出现错误“0x80070643 Fatal Error During Installation

VS2010报错:LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt

VS2010报错:LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt

ERROR : Error appeared during Puppet run: 192.168.1.201_mariadb.pp

Error during SonarQube Scanner execution

Error during WebSocket handshake 403