问题
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