This commit is contained in:
Justin Bertram 2021-09-16 17:17:33 -05:00
commit 8f915dd627
1 changed files with 2 additions and 2 deletions

View File

@ -102,8 +102,8 @@ A policy is defined by the `policy` element. Let's take a look at a policy examp
The broker balancer provides a cache with a timeout to improve the stickiness of the target broker selected, The broker balancer provides a cache with a timeout to improve the stickiness of the target broker selected,
returning the same target broker for a target key as long as it is present in the cache and is ready. returning the same target broker for a target key as long as it is present in the cache and is ready.
So a broker balancer with the cache enabled doesn't strictly follow the configured policy. So a broker balancer with the cache enabled doesn't strictly follow the configured policy.
By default, the cache is enabled, and will never timeout. Set `cache-timeout` parameter to By default, the cache is enabled, and will never timeout. See below
a value in seconds for time out, or disable the cache by setting the value to `0`. for more details about setting the `cache-timeout` parameter.
## Defining broker balancers ## Defining broker balancers
A broker balancer is defined by `broker-balancer` element, it includes the following items: A broker balancer is defined by `broker-balancer` element, it includes the following items: