How to add HAproxy on Kafka broker

血红的双手。 提交于 2020-04-17 22:51:47

问题


I have Kubernetes setup on 3 nodes. 3 Kafka brokers are running successfully on the cluster. There is a third-party application outside the cluster that is using this Kafka. The third-party application(tool) can only use 1 broker list in its config. The tool is unable to add 3 broker list. All good, but sometimes tool got notleaderforpartitionexception. the tool is not able to switch on another broker.

is it possible to add a proxy layer in Kubernetes which can give HA to the Kafka cluster? Can someone provide me some sample for the proxy layer?

来源:https://stackoverflow.com/questions/58796536/how-to-add-haproxy-on-kafka-broker

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!