EMERGENCY! EUREKA MAY BE INCORRECTLY CLAIMING INSTANCES ARE UP WHEN THEY'RE NOT. RENEWALS ARE LESSER THAN THRESHOLD AND HENCE THE INSTANCES ARE NOT BEING EXPIRED JUST TO BE SAFE.

主要是由于服务未使用高可用的注册服务中心,调整服务的配置文件的服务注册中心为多个

application.properties

server.port=8010
# 服务命名
spring.application.name=hello-service
eureka.client.serviceUrl.defaultZone=http://eureka-server:1111/eureka/

  修改为

server.port=8010
# 服务命名
spring.application.name=hello-service
eureka.client.serviceUrl.defaultZone=http://eureka-server:1111/eureka/,http://eureka-server2:2222/eureka/

 

 


posted on 2017-11-29 10:50  肖建锋  阅读(2152)  评论(0编辑  收藏  举报