微服务
InSunshine_
这个作者很懒,什么都没留下…
展开
-
spring cloud微服务启动错误
今天在启动spring cloud微服务的时候,报了这个错误: Error starting ApplicationContext. To display the auto-configuration report re-run your application with 'debug' enabled. 2018-07-03 20:17:10.295 ERROR 19024 --- [ mai...原创 2019-09-03 14:26:51 · 576 阅读 · 0 评论 -
Spring Cloud微服务:EurekaServer注册中心自我保护机制
默认情况下,如果EurekaServer在一定时间内没有接收到某个微服务实例的心跳,EurekaServer将会注销该实例(默认90秒)。但是当网络分区故障发生时,微服务与EurekaServer之间无法正常通信,以上行为可能变得非常危险了,因为微服务本身其实时健康的,此时本不应该注销这个微服务。 Eureka通过“自我保护模式”来解决这个问题,当EurekaSe...原创 2019-09-05 09:36:09 · 336 阅读 · 0 评论