当前位置:网站首页>Eureka自我保护
Eureka自我保护
2022-07-03 11:53:00 【只因为你而温柔】
Eureka自我保护
故障现象
导致原因
一句话:某时刻 一个微服务不可用了,Eureka不会立刻清理,依旧会对该服务的信息进行保存
属于CAP里面的AP分支
禁止自我保护—EurekaServer端
出产默认,自我保护机制是开启的
eureka.server.enable-self-preservation=true
使用eureka.server.enable-self-preservation=false 可以禁用自我保护模式
关闭效果
在eurekaServer端7001处设置关闭自我保护机制
EurekaClient端
默认
eureka.instance.lease-renewal-interval-in-seconds=30 单位为秒(默认是30秒) eureka.instance.lease-expiration-duration-in-seconds=90 单位为秒(默认是390秒)
配置
测试
边栏推荐
猜你喜欢
If you can't learn, you have to learn. Jetpack compose writes an im app (I)
LeetCode 0556.下一个更大元素 III - 4步讲完
(构造笔记)ADT与OOP
Integer string int mutual conversion
PHP导出word方法(一phpword)
Php Export word method (One MHT)
Itext7 uses iexternalsignature container for signature and signature verification
Laravel time zone timezone
Kubernetes three dozen probes and probe mode
Swagger
随机推荐
LeetCode 0556.下一个更大元素 III - 4步讲完
JVM memory model
AOSP ~ NTP (Network Time Protocol)
Atomic atomic operation
Interview experience in summer camp of Central South University in 2022
Dart: about grpc (I)
Talk about the state management mechanism in Flink framework
4000 word super detailed pointer
temp
Laravel time zone timezone
OpenGL shader use
Is BigDecimal safe to calculate the amount? Look at these five pits~~
239. Sliding window maximum
Socket TCP for network communication (I)
elastic_ L01_ summary
2.9 overview of databinding knowledge points
The difference between lambda and anonymous inner class
2020-11_ Technical experience set
Take you to the installation and simple use tutorial of the deveco studio compiler of harmonyos to create and run Hello world?
(数据库提权——Redis)Redis未授权访问漏洞总结