0
点赞
收藏
分享

微信扫一扫

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

小典典Rikako 2022-06-09 阅读 64
############################# 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



举报

相关推荐

0 条评论