We have setup ES on two data-centers - A and B.
Data is coming to A from Kafka/Spark combination hosted in A too.
ES in B has a follower index.
ES in A has a leader index.
Both A and B elastic clusters get read-traffic from clients local to their data-centers.
For DR-failover, Kafka/Spark are present in B as well and they get written to only if A becomes un-available.
Now during failover, B would begin to get writes from their local Kafka/Spark and not from A.
Once the DR is fixed, it is expected that things would get restored to the happy-scenario.
But how do we replicate the changes from B to A that occurred during the DR failover?
We have inserts as well as updates.
Does ES support bi-directional CCR or anything else that can help to make the DR switching operations automatic?