kafka.common.InconsistentBrokerIdException: Configured broker.id 0 doesn’t match stored broker.id Some(1) in meta.properties. If you moved your data, make sure your configured broker.id matches. If you intend to create a new broker, you should remove all data in your data directories (log.dirs).
三台服务器
因为 我修改了服务器1的kafka配置server.properties并且分发了给了另外两台。
重点是 分发之后我没有修改另外两台节点的server.properties这里面的一个配置broker.id=0
使得我三台节点上的这个broker.id都是一样的 ,这万万使不得。把两外两台改回原来的就行了。或者三台分别设置为0,1,2就行了



