1、kafka服务器防火墙需要关闭,否则消费者监听不到新消息
Linux查看防火墙是否关闭命令:fireware-cmd -state
Linux关闭防火墙命令:systemctl stop fireware.service