 | PartitionAssignmentMethod Enumeration |
Indicates how initial partition assignment is done if the channel has multiple partitions per task.
Namespace: Ookii.Jumbo.Jet.ChannelsAssembly: Ookii.Jumbo.Jet (in Ookii.Jumbo.Jet.dll) Version: 0.3.0+dc1307f20e065bb638e0b73a34cd216f57e486f1
Syntaxpublic enum PartitionAssignmentMethod
Public Enumeration PartitionAssignmentMethod
public enum class PartitionAssignmentMethod
type PartitionAssignmentMethod
MembersMember name | Value | Description |
---|
Linear | 0 |
Each task gets a linear sequence of partitions, e.g. task 1 gets partitions 1, 2 and 3, task 2 gets partitions 4, 5 and 6, and so forth.
|
Striped | 1 |
The partitions are striped across the tasks, e.g. task 1 gets partitions 1, 3, and 5, and task 2 gets partitions 2, 4, and 6.
|
See Also