Update spring-cloud-netflix.adoc

This commit is contained in:
TAN ZHENG
2021-12-27 01:41:48 +08:00
committed by Olga MaciaszekSharma
parent a86dba2659
commit 912fa949ff

View File

@@ -355,7 +355,7 @@ the ability to refresh Eureka clients. To do this set `eureka.client.refresh.en
We offer support for the Spring Cloud LoadBalancer `ZonePreferenceServiceInstanceListSupplier`.
The `zone` value from the Eureka instance metadata (`eureka.instance.metadataMap.zone`) is used for setting the
value of `spring-clod-loadbalancer-zone` property that is used to filter service instances by zone.
value of `spring-cloud-loadbalancer-zone` property that is used to filter service instances by zone.
If that is missing and if the `spring.cloud.loadbalancer.eureka.approximateZoneFromHostname` flag is set to `true`,
it can use the domain name from the server hostname as a proxy for the zone.