1.ERROR Exiting Kafka due to fatal exception (kafka.Kafka$)
原因:找不到properties文件,或者配置文件路径指定错误

办法:指定配置文件路径

2.Configured broker.id 130 doesn’t match stored broker.id 0 in meta.properties

原因:单机使用过

办法:删除数据文件重启
3.zookeeper is not a recognized option

Replication factor: 2 larger than available brokers: 1

办法:小于broker数即可

5.

报错:

[2019-12-03 12:44:08,142] WARN Error while fetching metadata with correlation id 479 : {test=LEADER_NOT_AVAILABLE} (org.apache.kafka.clients.NetworkClient)
[2019-12-03 12:44:08,256] WARN Error while fetching metadata with correlation id 480 : {test=LEADER_NOT_AVAILABLE} (org.apache.kafka.clients.NetworkClient)

办法:修改 server.properties 添加
host.name=

相关文章:

  • 2022-01-11
  • 2021-11-18
  • 2021-04-06
  • 2021-05-28
  • 2021-11-18
  • 2021-11-18
猜你喜欢
  • 2022-12-23
  • 2021-06-09
  • 2022-12-23
  • 2022-12-23
  • 2021-07-07
  • 2022-12-23
  • 2021-06-08
相关资源
相似解决方案