Closed baiyuang closed 6 years ago
1) Generally we track whatever version of consul https://github.com/Ecwid/consul-api uses. 2) DeregisterCriticalServiceAfter is only available in 1.2.0.M1 3) We follow consuls recommended architecture of connecting to a local agent, and let the agent connect to the servers. There is no support for multiple servers.
tks! If I connecting to a local agent, how to support multiple data centers?
by default consul queries the local data center.
If I have two datacenters, my apps needs to connect two datacenters, how to do ?
Consul has different behaviors for cross-datacenter calls. What are you trying to do?
@spencergibb If I want to call service in another data center using client load balance, any suggest for using Ribbon or Feign? If I cannot call the service directly because the IP address of service hosts cannot access across data centers, how to call service in another data center using spring cloud consul? Any suggestions would be appreciated.
I don't have any suggestions.
How to config multi consul agent address like eureka
eureka.client.serviceUrl.defaultZone: http://10.2.61.201:9000/eureka/,http://10.2.61.202:9000/eureka/
Closing due to age of the question. If you would like us to look at this issue, please comment and we will look at re-opening the issue.