We are trying to solve a problem here with filebeat agent, we want to introduce an GSLB infront of Kafka clusters. Basically we have 2 kafka clusters in 2 different zones, we want filebeat to output to kafka based on reachability, Incase we have Zone 1 kafka down, filebeat should be able to connect to Zone2 via same pipeline without needing any restart.
Our kafka clusters are based on RKS, and we connect it via an FQDN:port with mTLS.
I know filebeat supports output to logstash with this approach, can it also do same for output.kafka: ?