ClusterEndpoints

constructor(endpoints: List<Tag>, selector: EndpointSelector = RoundRobinEndpointSelector(startIndex = 0))

Parameters

endpoints

Ordered list of server endpoint Tags. Must be non-empty.

selector

Strategy for picking the next endpoint after a tear. Defaults to deterministic round-robin starting at index 0.