Can I specify ports for zookeeper? In kind: Kafka #8781
Answered
by
ppatierno
simonebenati
asked this question in
Q&A
-
Hello, As the title says in the following yaml to configure kafka cluster is it possible to add a key in spec.zookeeper: to specify the port it needs to listen to? something similar to the listeners attribute for the brokers
|
Beta Was this translation helpful? Give feedback.
Answered by
ppatierno
Jul 5, 2023
Replies: 1 comment 3 replies
-
It's not possible to do so. Strimzi configure ZooKeeper with the "usual and well known ports" from its ecosystem, so 2181 for clients connections, 3888 for quorum formation, 2888 for followers (to leader). |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
for some type of service discovery
what do you mean by this?The ZooKeeper ensemble used by a Kafka cluster should be never used for anything else than ... storing metadata for the Kafka brokers. No applications should have access to it, but only the Kafka brokers. It could have a negative impact on the stability of the overall cluster.