原因:broker id 不一致! 解决:修改broker id 后需要删除 /var/local/kafka/data 目录下的 meta.properties 文件。 重启kafka服务,即可正常访问!