Merge remote-tracking branch 'origin/2.0.x' into 2.1.x

This commit is contained in:
Ryan Baxter
2019-05-21 12:59:48 -04:00
5 changed files with 49 additions and 3 deletions

View File

@@ -324,6 +324,13 @@ eureka.instance.metadataMap.zone = zone2
eureka.client.preferSameZoneEureka = true
```
=== Refreshing Eureka Clients
By default, the `EurekaClient` bean is refreshable, meaning the Eureka client properties can be changed and refreshed.
When a refresh occurs clients will be unregistered from the Eureka server and there might be a brief moment of time
where all instance of a given service are not available. One way to eliminate this from happening is to disable
the ability to refresh Eureka clients. To do this set `eureka.client.refresh.enable=false`.
[[spring-cloud-eureka-server]]
== Service Discovery: Eureka Server