Hello
Is it possible to set weights for Weighted algorithm dynamically? I tried to set them from variables readed from KVM in curly brackets {}, also tried to use 'ref', but without any success..
How to set weights from variables?
<HTTPTargetConnection> <LoadBalancer> <Algorithm>Weighted</Algorithm> <Server name="mockit"> <Weight>2</Weight> <!--<Weight>{mockitWeight}</Weight>--> <!--<Weight ref="mockitWeight"/>--> </Server> <Server name="amock"> <Weight>1</Weight> <!--<Weight>{amockWeight}</Weight>--> <!--<Weight ref="amockWeight"/>--> </Server> </LoadBalancer> <Path>/api/1</Path> </HTTPTargetConnection>
Even I tried and maybe we cannot use flow variable or ref values in Weight field.
I could not find any documentation on it as well.
User | Count |
---|---|
2 | |
2 | |
1 | |
1 | |
1 |