PartitionGrouper¶
Creating Instance¶
PartitionGrouper takes no arguments to be created.
PartitionGrouper is created when:
StreamsPartitionAssignoris requested to configure
partitionGroups¶
Map<TaskId, Set<TopicPartition>> partitionGroups(
Map<Subtopology, Set<String>> topicGroups,
Cluster metadata)
partitionGroups...FIXME
partitionGroups is used when:
StreamsPartitionAssignoris requested to assign
Maximum Number of Partitions¶
int maxNumPartitions(
Cluster metadata,
Set<String> topics)
maxNumPartitions finds the maximum number of partitions across all the given topics (using Cluster metadata).