balancerHealthMonitor is NOT working when balancer is defined als chain:
components:
bhm:
balancerHealthMonitor:
interval: 30000
httpClientConfig:
connection:
timeout: 2000
soTimeout: 2000
cluster1:
chain:
- balancer:
priorityStrategy: {}
clusters:
- name: cluster1
nodes:
- host: localhost
port: 8001
healthUrl: http://localhost:8001/healthh
priority: 1
- host: localhost
port: 8002
healthUrl: http://localhost:8002/health
priority: 2
balancerHealthMonitor is working when balancer is defined directly in an api:
components:
bhm:
balancerHealthMonitor:
interval: 30000
httpClientConfig:
connection:
timeout: 2000
soTimeout: 2000
---
api:
. ..
flow:
...
- balancer:
priorityStrategy: { }
clusters:
- name: cluster1
nodes:
- host: localhost
port: 8001
healthUrl: http://localhost:8001/healthh
priority: 1
- host: localhost
port: 8002
healthUrl: http://localhost:8002/health
priority: 2
balancerHealthMonitor is NOT working when balancer is defined als chain:
balancerHealthMonitor is working when balancer is defined directly in an api: