'Consul End point in Elasticsearch , pushing data to only one availability zone

I have setup 2 clusters in 2 availability zones and data is pushed through consul-->redis-->logspot--> and elasticserach. Now data was pushed to Elasticsearch through consul end point which has 4 redis nodes in 2 availabiity zone. The data is pushed to only A availability zone. Checked by stopping the A availability zone but still data is pushed to A availability zone. Any insights about the issue with consul.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source