java.lang.RuntimeException: A broker is already registered on the path /brokers/ids/102. 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.
翻译: 代理已经在路径/brokers/ids/1上注册。这可能表明您已经配置了一个已经在使用中的代理id,或者您已经关闭了该代理并以更快的速度重新启动了它
解决方案:zkCli.sh进入zookeeper客户端
[zk: localhost:2181(CONNECTED) 4] ls /brokers/ids
[103, 104]
删除代理id
rmr /brokers/ids
或
deleteall /broker/ids