Class RoundRobinDispatchStrategy
java.lang.Object
io.camunda.zeebe.broker.client.impl.RoundRobinDispatchStrategy
- All Implemented Interfaces:
RequestDispatchStrategy
Return the next partition using a round-robin strategy, but skips the partitions where there is
no leader at the moment.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
RoundRobinDispatchStrategy
public RoundRobinDispatchStrategy()
-
-
Method Details
-
determinePartition
- Specified by:
determinePartitionin interfaceRequestDispatchStrategy- Returns:
BrokerClusterState.PARTITION_ID_NULLif no partition can be determined
-