码迷,mamicode.com
首页 > 其他好文 > 详细

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.

时间:2017-11-29 11:31:33      阅读:1091      评论:0      收藏:0      [点我收藏+]

标签:ati   url   hello   ext   when   未使用   命名   service   调整   

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/

 

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.

标签:ati   url   hello   ext   when   未使用   命名   service   调整   

原文地址:http://www.cnblogs.com/xiaojf/p/7919088.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!