[已解决]Unable to connect to broker 0

[已解决]Unable to connect to broker 0

问题

Unable to connect to broker 0

kafka tool 工具无法查看主题

思路

在window的hosts添加上kafka服务器的ip和对应的域名

image-20231019151117221

解决

成功解决!

image-20231019151053311