public static interface PartialKeyGrouping.AssignmentCreator extends Serializable
NOTE: whatever scheme you use to create the assignment should be deterministic. This may be executed on multiple Storm Workers, thus each of them needs to come up with the same assignment for a given key.
Modifier and Type | Method and Description |
---|---|
int[] |
createAssignment(List<Integer> targetTasks,
byte[] key) |
Copyright © 2023 The Apache Software Foundation. All rights reserved.