I am working on a highly available Eureka server-client setup.
My requirement is to configure Eureka server in the below fashion.
- Eureka clients should reach out to eureka servers in the same data center. (which is the default behaviour using "eureka.client.prefer-same-zone-eureka" property)
- Eureka server should respond with the service url within the same datacenter as well. (This i am not able to achieve)
Problem : A request is flowing through servers from different datacenter. I want requests to be served in same datacenter until something goes down.