文章目录问题描述:原因分析:解决方案:方法一:方法二:问题描述:开启ZooKeeper之后,准备启动Kafka服务,结果出现ERRORFatalerrorduringKafkaServerstartup.Preparetoshutdown(kafka.server.KafkaServer)kafka.common.InconsistentClusterIdException:TheClusterIDZ3dsClK3TtgwPiNLIQI493doesn'tmatchstoredclusterIdSome(Zgwgk1bCSskTYBvQ4714m9E)inmeta.properties.The
一、错误报的错:ERRORFatalerrorduringKafkaServerstartup.Preparetoshutdown(kafka.server.KafkaServer)kafka.common.InconsistentBrokerIdException:Configuredbroker.id0doesn’tmatchstoredbroker.idSome(1)inmeta.properties.Ifyoumovedyourdata,makesureyourconfiguredbroker.idmatches.Ifyouintendtocreateanewbroker,yousho
一、错误报的错:ERRORFatalerrorduringKafkaServerstartup.Preparetoshutdown(kafka.server.KafkaServer)kafka.common.InconsistentBrokerIdException:Configuredbroker.id0doesn’tmatchstoredbroker.idSome(1)inmeta.properties.Ifyoumovedyourdata,makesureyourconfiguredbroker.idmatches.Ifyouintendtocreateanewbroker,yousho