kafka在阿里云上的配置

只需要改server.properties

 

 


listeners=PLAINTEXT://  内网的ip地址和9092端口
advertised.listeners=PLAINTEXT://外网的ip的地址和9092端口
advertised.host.name= 内网的ip地址

zookeeper.connect=外网的IP地址和2181端口

posted @ 2020-03-17 09:32  change丶fl  阅读(1165)  评论(0编辑  收藏  举报