错误信息
:
A broker is already registered on the path /brokers/ids/0. `
This probably indicates that you either have configured a brokerid that is already in use,
or else you have shutdown this broker and restarted it faster than the zookeeper
timeout so it appears to be re-registering.
`查看错误日志`:kafka中的server.log
kafka-logs-server.log
FATAL Exiting Kafka. (kafka.server.KafkaServerStartable)
最后发现三个`conf下的server.properties文件中`broker.id=0 三台节点都是这样
更改为0/1 2即可