Currently I am using Spring Cloud Consul for service discovery, and would like to use Ribbon to load balance service calls. I was able to successfully load balance across all instances of a service within the same DC (using RestTemplate), but when those services were de-registered it never saw instances of that service in another DC. From a Consul perspective, both data centers are properly connected using WAN-Gossip. Is there something I need to configure in Spring Cloud Consul to "see" other data centers / zones? My ultimate goal is to have load balancing across the service within DC1, with a switch-over to load balancing in DC2 when all instances are down in DC1.
Thanks!