当前位置:   article > 正文

kafka的advertised.listeners配置_kafka advertised.listeners配置

kafka advertised.listeners配置
  1. # Hostname and port the broker will advertise to producers and consumers. If not set,
  2. # it uses the value for "listeners" if configured. Otherwise, it will use the value
  3. # returned from java.net.InetAddress.getCanonicalHostName().
  4. #advertised.listeners=PLAINTEXT://your.host.name:9092
advertised.listeners=PLAINTEXT://主机的域名:9092 


kafka 0.9.x以后的版本新增了advertised.listeners配置


kafka 0.9.x以后的版本不要使用 advertised.host.name 和 advertised.host.port 已经deprecated

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/我家自动化/article/detail/731535
推荐阅读
相关标签
  

闽ICP备14008679号