Map<TaskId, Set<TopicPartition>> partitionGroups(
Map<Integer, Set<String>> topicGroups, Cluster metadata)
PartitionGrouper Contract
PartitionGrouper
is the abstraction of partition groupers that can partitionGroups.
Method | Description |
---|---|
|
Used exclusively when |
Note
|
DefaultPartitionGrouper is the one and only known implementation of the PartitionGrouper Contract. |