-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade eureka version #3257
Upgrade eureka version #3257
Conversation
The build breaks with this change |
HI @ryanjbaxter I see it and I will fix it. thanks |
Codecov Report
@@ Coverage Diff @@
## master #3257 +/- ##
============================================
+ Coverage 65.46% 65.78% +0.32%
- Complexity 1475 1480 +5
============================================
Files 188 188
Lines 6943 6965 +22
Branches 846 847 +1
============================================
+ Hits 4545 4582 +37
+ Misses 2085 2069 -16
- Partials 313 314 +1
Continue to review full report at Codecov.
|
Hi @ryanjbaxter |
...er/src/main/java/org/springframework/cloud/netflix/eureka/server/EurekaServerConfigBean.java
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Question regarding the changes
Hi @ryanjbaxter thanks help me review :) Let me explain details Below in 1.9.4 eureka version :
On the other hand Eureka server use |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks I just wanted to make sure those default values were actually coming from somewhere and not being made up.
* server can adjust its eviction policy to the number of registrations (when it's | ||
* zero, even a successful registration won't reset the rate threshold in | ||
* InstanceRegistry.register()). | ||
*/ | ||
@Value("${eureka.server.expectedNumberOfRenewsPerMin:1}") // for backwards compatibility | ||
private int expectedNumberOfRenewsPerMin = 1; | ||
@Value("${eureka.server.expectedNumberOfClientsSendingRenews:1}") // for backwards compatibility |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@spencergibb do you think we should support the old property as well as new property to avoid breaking people that transition to Greenwich?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That would be nice since it does break others, like this: https://github.com/twinformatics/eureka-consul-adapter
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@maximusfloydus could you open a separate issue?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Haha, I opened the issue and fixed it.
Any update? thanks |
Fixes #3255