此时相应的启动消费者或者启动生产者的命令为:bin/kafka-console-consumer.sh --bootstrap-server外网IP:9092 --topic pers 注意红框处必须写外网IP,不能写 localhost