wget https://archive.apache.org/dist/kafka/2.2.1/kafka_2.12-2.2.1.tgz
bin/kafka-server-stop.sh -daemon config/server1.properties
bin/kafka-server-stop.sh -daemon config/server2.properties
bin/kafka-server-stop.sh -daemon config/server3.properties
bin/kafka-server-start.sh -daemon config/server1.properties
bin/kafka-server-start.sh -daemon config/server2.properties
bin/kafka-server-start.sh -daemon config/server3.properties
No entry found for connection 3
listeners=PLAINTEXT://内网ip:9092 (写内网ip即可,在终端输入ifconfig ,一般是eth0中的inet地址)
advertised.listeners=PLAINTEXT://外网ip:9092 (写外网ip,进入阿里云控制台可以看到)
jps
https://www.cnblogs.com/zhangmingcheng/p/11270986.html
https://blog.csdn.net/lizhitao/article/details/25667831
https://www.cnblogs.com/justuntil/p/8033792.html
https://www.cnblogs.com/zhaoshizi/p/12154518.html
kafka 连接虚拟机问题
https://blog.csdn.net/qq_34901049/article/details/100936681
内容来源于网络,如有侵权,请联系作者删除!