kafka IP访问配置
要使用IP访问kafka需要开放host port在server.properties下面配置:# Hostname and port the broker will advertise to producers and consumers. If not set,# it uses the value for "listeners" if configured.Otherwise, ...
·
要使用IP访问kafka需要开放host port
在server.properties下面配置:
# 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://your.host.name:9092
更多推荐
已为社区贡献1条内容
所有评论(0)