- All Implemented Interfaces:
DocumentProtocolRoutingPolicy
, com.yahoo.messagebus.routing.RoutingPolicy
public class LoadBalancerPolicy
extends SlobrokPolicy
Routing policy to load balance between nodes in a randomly distributed cluster, such as a docproc cluster.
pattern=<pattern> (mandatory, determines the pattern of nodes to send to)
slobroks=<comma-separated connectionspecs> (optional, list of slobroks to use to find the pattern)
config=<comma-separated list of config servers> (optional, list of config servers to use to find slobrok config)
If both slobroks and config is specified, the list from slobroks is used.
- Author:
- Haakon Humberset