Add predefined ServiceInstanceListSupplier configurations. 2nd part of gh-741. (#758)

This commit is contained in:
Olga Maciaszek-Sharma
2020-05-18 09:23:48 -05:00
committed by GitHub
parent b59a546ce8
commit c998d69c66
3 changed files with 227 additions and 0 deletions

View File

@@ -970,6 +970,8 @@ public class CustomLoadBalancerConfiguration {
TIP:: In order to make working on your own LoadBalancer configuration easier, we have added some utility methods in `ServiceInstanceListSuppliers` class.
TIP:: You can also use our alternative predefined configurations in place of the default ones by setting the value of `spring.cloud.loadbalancer.configurations` property to `zone-preference` to use `ZonePreferenceServiceInstanceListSupplier` with caching or to `health-check` to use `HealthCheckServiceInstanceListSupplier` with caching.
[[spring-cloud-loadbalancer-starter]]
=== Spring Cloud LoadBalancer Starter