• 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一致

  • 相关阅读:
    跨域问题
    window7_64+python3.6安装Twisted
    resful协议1
    Http状态码
    数据库学习笔记
    linux学习笔记
    前端学习笔记
    python学习笔记
    mongoDB
    git的使用方法
  • 原文地址:https://www.cnblogs.com/rhgaiymm/p/13234748.html
Copyright © 2020-2023  润新知