Add service instance cookie mechanism for blocking load-balanced requests. (#918)

This commit is contained in:
Olga Maciaszek-Sharma
2021-03-09 10:14:30 +01:00
committed by GitHub
parent da22aed5d8
commit d583addb37
4 changed files with 159 additions and 3 deletions

View File

@@ -1045,8 +1045,6 @@ For that functionality, it is useful to have the selected service instance (whic
By default, the name of the cookie is `sc-lb-instance-id`. You can modify it by changing the value of the `spring.cloud.loadbalancer.instance-id-cookie-name` property.
WARNING: Passing the selected service instance id as a cookie is currently only supported for the reactive `@LoadBalanced Webclient`, `ReactorLoadBalancerExchangeFilterFunction` and `RetryableLoadBalancerExchangeFilterFunction`.
[[spring-cloud-loadbalancer-hints]]
=== Spring Cloud LoadBalancer Hints