标签:serve err -o join 文件夹 scala meta shutdown broker
启动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)
标签:serve err -o join 文件夹 scala meta shutdown broker
原文地址:https://www.cnblogs.com/rhgaiymm/p/13234748.html