Class RoundRobinDispatchStrategy
java.lang.Object
io.camunda.zeebe.gateway.impl.broker.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
-
-
Method Details
-
determinePartition
public int determinePartition()- Specified by:
determinePartitionin interfaceRequestDispatchStrategy- Returns:
BrokerClusterState.PARTITION_ID_NULLif no partition can be determined
-