Package org.apache.storm.grouping
Interface PartialKeyGrouping.AssignmentCreator
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
PartialKeyGrouping.RandomTwoTaskAssignmentCreator
- Enclosing class:
- PartialKeyGrouping
This interface is responsible for choosing a subset of the target tasks to use for a given key.
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.
-
Method Summary
-
Method Details
-
createAssignment
-