当前位置:网站首页>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秒)
配置
测试
边栏推荐
- Pragma pack syntax and usage
- 01_ Using the concurrent tool class library, is thread safety safe
- [official MySQL document] deadlock
- Adult adult adult
- How to convert a numeric string to an integer
- Integer string int mutual conversion
- lambda与匿名内部类的区别
- Slf4j log facade
- PHP get the file list and folder list under the folder
- DEJA_VU3D - Cesium功能集 之 053-地下模式效果
猜你喜欢
Basic knowledge of OpenGL (sort it out according to your own understanding)
shardingSphere分库分表<3>
(构造笔记)ADT与OOP
If you can't learn, you have to learn. Jetpack compose writes an im app (I)
Display time with message interval of more than 1 minute in wechat applet discussion area
Fluent: Engine Architecture
C language improvement article (wchar_t) character type
If you can't learn, you have to learn. Jetpack compose writes an im app (II)
ES6新特性
云计算未来 — 云原生
随机推荐
Cloud Computing future - native Cloud
Self made pop-up input box, input text, and click to complete the event.
Itext7 uses iexternalsignature container for signature and signature verification
Dart: about Libraries
LeetCode 0556. Next bigger element III - end of step 4
使用BLoC 构建 Flutter的页面实例
Shardingsphere sub database and sub table < 3 >
Basic knowledge of OpenGL (sort it out according to your own understanding)
elastic_ L01_ summary
Capturing and sorting out external Fiddler -- Conversation bar and filter [2]
[download attached] password acquisition tool lazagne installation and use
1-1 token
New features of ES6
shardingSphere分库分表<3>
Flutter: about monitoring on flutter applications
Is it safe to open an account for online stock speculation? Who can answer
(构造笔记)MIT reading部分学习心得
023(【模板】最小生成树)(最小生成树)
lambda与匿名内部类的区别
[combinatorics] permutation and combination (example of permutation and combination)