简体   繁体   English

我可以在kafka中指定一个监听器来与zookeeper通信吗

[英]Can i specify a listener in kafka to communicate with zookeeper

I am new to kafka.我是卡夫卡的新手。 i am setting up kafka cluster in openshift and in the process configuring various listeners.我正在 openshift 中设置 kafka 集群,并在配置各种侦听器的过程中。 EXT_NETWORK://0.0.0.0:9092 INT_NETWORK://0.0.0.0:9094 INTER_BROKER://0.0.0.0:9095 EXT_NETWORK://0.0.0.0:9092 INT_NETWORK://0.0.0.0:9094 INTER_BROKER://0.0.0.0:9095

does kafka uses one of the configured listener to communicate with zookeeper? kafka 是否使用配置的侦听器之一与 Zookeeper 通信? if yes how that listener can be configured?如果是,如何配置该侦听器?

Listeners are how the clients communicate with the brokers , and are separate from how Kafka communicates with Zookeeper.侦听器是客户端代理通信的方式,与 Kafka 与 Zookeeper 的通信方式是分开的。 For more information see this blog .有关详细信息,请参阅此博客

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM