当前位置:网站首页>Eureka self protection
Eureka self protection
2022-07-03 12:27:00 【Gentle just because of you】
Eureka Self protection
The fault phenomenon
![[ Failed to transfer the external chain picture , The origin station may have anti-theft chain mechanism , It is suggested to save the pictures and upload them directly (img-qdLkNhES-1654355596457)(/Users/xiaoge/Downloads/assests/02C3F3E4-A64A-4347-9CB4-9E5A836B9473.png)]](/img/a1/e130bd4a78e6f7f4c577c236e5c4cc.png)
Cause
In a word : At some point A micro service is unavailable ,Eureka It won't clean up immediately , The information of the service will still be saved
Belong to CAP Inside AP Branch
Prohibit self-protection —EurekaServer End
Production default , The self-protection mechanism is open
eureka.server.enable-self-preservation=trueUse eureka.server.enable-self-preservation=false You can disable self-protection mode
![[ Failed to transfer the external chain picture , The origin station may have anti-theft chain mechanism , It is suggested to save the pictures and upload them directly (img-wbJ7QZE4-1654355596459)(/Users/xiaoge/Downloads/assests/0C62312C-F235-4A49-AE6C-14113B4C182E.png)]](/img/94/f24fac83001fdb3c4926495c16500e.png)
Closing effect
![[ Failed to transfer the external chain picture , The origin station may have anti-theft chain mechanism , It is suggested to save the pictures and upload them directly (img-MZaLVJcv-1654355596460)(/Users/xiaoge/Downloads/assests/A5FF5BFC-35E6-434D-83D3-BD2B3E3D4AED.png)]](/img/27/3182f18006d1731ed4ec54ed7721ed.png)
stay eurekaServer End 7001 Turn off the self-protection mechanism
EurekaClient End
Default
eureka.instance.lease-renewal-interval-in-seconds=30 The unit is in seconds ( The default is 30 second ) eureka.instance.lease-expiration-duration-in-seconds=90 The unit is in seconds ( The default is 390 second )To configure
![[ Failed to transfer the external chain picture , The origin station may have anti-theft chain mechanism , It is suggested to save the pictures and upload them directly (img-AA9AQbya-1654355596467)(/Users/xiaoge/Downloads/assests/2004DCF3-002E-43EB-B292-D7E29E715A28.png)]](/img/97/88a0e2740e075d0642c4c8591b35d4.png)
test
![[ Failed to transfer the external chain picture , The origin station may have anti-theft chain mechanism , It is suggested to save the pictures and upload them directly (img-r8WsrQU8-1654355596468)(/Users/xiaoge/Downloads/assests/9AC279FE-4292-4E08-BF67-FB5E72670203.png)]](/img/76/facdecc052d74b7721f93c8ff83544.png)
边栏推荐
- Use of atomicinteger
- 111. Minimum depth of binary tree
- 023 ([template] minimum spanning tree) (minimum spanning tree)
- Why can't my MySQL container start
- Flutter 退出登录二次确认怎么做才更优雅?
- 在网上炒股开户可以吗?资金安全吗?
- Lambda expression
- The difference between lambda and anonymous inner class
- 2.9 overview of databinding knowledge points
- (database authorization - redis) summary of unauthorized access vulnerabilities in redis
猜你喜欢

Socket TCP for network communication (I)

OpenGL index cache object EBO and lineweight mode

What is more elegant for flutter to log out and confirm again?

Kubernetes three dozen probes and probe mode

实现验证码验证

雲計算未來 — 雲原生

Laravel time zone timezone

Shutter widget: centerslice attribute

Shutter: overview of shutter architecture (excerpt)

Integer int compare size
随机推荐
shardingSphere分库分表<3>
Summary of development issues
Introduction to concurrent programming (I)
Adult adult adult
Flutter: self study system
Prompt unread messages and quantity before opening chat group
PHP导出word方法(一mht)
145. Post order traversal of binary tree
OpenGL index cache object EBO and lineweight mode
【嵌入式】---- 内存四区介绍
Wechat applet pages always report errors when sending values to the background. It turned out to be this pit!
[download attached] password acquisition tool lazagne installation and use
Pragma pack syntax and usage
[learning notes] DP status and transfer
347. Top k high frequency elements
Dart: About zone
How to convert a numeric string to an integer
为什么我的mysql容器启动不了呢
PHP导出word方法(一phpword)
LeetCode 0556. Next bigger element III - end of step 4