How to config multiple Eureka Servers from client in Spring Cloud
问题 From the spring doc, I see we can have peer eureka server together, so for Eureka1, in application.yml, I can have: spring: profiles: peer1 eureka: instance: hostname: peer1 client: serviceUrl: defaultZone: http://peer2/eureka/ And in Eureka Server 2, I can have: spring: profiles: peer2 eureka: instance: hostname: peer2 client: serviceUrl: defaultZone: http://peer1/eureka/ Now these two eureka servers are aware each other, it is good. BUT, now in configuring client, when they register again