kafka ClosedChannelException 本人遇到的这个异常,是由于当前消费端服务器没有配置zk和kafka的主机名。 在 /etc/hosts 里配置上zk和kakfa的主机名就不好报错了