Centos7下安装Kafka详细过程

x33g5p2x  于2020-09-04 发布在 Kafka  
字(0.8k)|赞(0)|评价(0)|浏览(1077)

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

相关文章

微信公众号

最新文章

更多