Add warning for eureka healthcheck.

fixes gh-1276
This commit is contained in:
Spencer Gibb
2016-08-30 09:14:32 -06:00
parent d04df564f0
commit fa508a2c7e

View File

@@ -168,6 +168,8 @@ eureka:
enabled: true
----
WARNING: `eureka.client.healthcheck.enabled=true` should only be set in `application.yml`. Setting the value in `bootstrap.yml` will cause undesirable side effects like registering in eureka with an `UNKNOWN` status.
If you require more control over the health checks, you may consider
implementing your own `com.netflix.appinfo.HealthCheckHandler`.