public static class PartialKeyGrouping.BalancedTargetSelector extends Object implements PartialKeyGrouping.TargetSelector
A basic implementation of target selection. This strategy chooses the task within the assignment that has received the fewest Tuples overall from this instance of the grouping.
|Constructor and Description|
|Modifier and Type||Method and Description|
Chooses one of the incoming tasks and selects the one that has been selected the fewest times so far.
Copyright © 2022 The Apache Software Foundation. All rights reserved.