How to eliminate the following message on Eureka server dashboard? Will it cause any issue to my services?
EMERGENCY! EUREKA MAY BE INCORRECTLY CLAIMING INSTANCES ARE UP WHEN THEY'RE NOT. RENEWALS ARE LESSER THAN THRESHOLD AND HENCE THE INSTANCES ARE NOT BEING EXPIRED JUST TO BE SAFE.
Thanks.
Generally, there will be multiple Eureka servers running so that to make it highly available. This is actually running multiple instances that intercommunicate with each other and what they do is they copy the replicate state of the registered services between them.
Here we're configuring an application port; the default one for Eureka servers is 8761.
Sample Disable this warning: add this property on application.properties file
eureka.renewalPercentThreshold=0.85
OR
eureka.server.enableSelfPreservation=false
But enableSelfPreservation also shows another warning message that you disable it.
On your EurekaServer configuration properties file, change the value of wait-time-in-ms-when-sync-empty to zero or delete this line, cause default value is zero.
eureka:
server:
wait-time-in-ms-when-sync-empty: 0
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With