您当前的位置: 首页 >  kafka

phymat.nico

暂无认证

  • 0浏览

    0关注

    1967博文

    0收益

  • 0浏览

    0点赞

    0打赏

    0留言

私信
关注
热门博文

kafka问题解决:生产者消费者不能连接远程kafka集群

phymat.nico 发布时间:2020-06-10 11:41:50 ,浏览量:0

############################# Socket Server Settings #############################
host.name=192.168.2.225

# The address the socket server listens on. It will get the value returned from
# java.net.InetAddress.getCanonicalHostName() if not configured.
#   FORMAT:
#     listeners = listener_name://host_name:port
#   EXAMPLE:
#     listeners = PLAINTEXT://your.host.name:9092
listeners=PLAINTEXT://:9092


# Hostname and port the broker will advertise to producers and consumers. If not set,
# it uses the value for "listeners" if configured.  Otherwise, it will use the value
# returned from java.net.InetAddress.getCanonicalHostName().
advertised.listeners=PLAINTEXT://192.168.2.225:9092

https://blog.csdn.net/maoyuanming0806/article/details/80555979

关注
打赏
1659628745
查看更多评论
立即登录/注册

微信扫码登录

0.0410s