org.apache.gearpump.streaming.kafka.lib.source
default grouper groups TopicAndPartitions among StreamProducers by partitions
e.g. given 2 topics (topicA with 2 partitions and topicB with 3 partitions) and 2 streamProducers (streamProducer0 and streamProducer1)
streamProducer0 gets (topicA, partition1), (topicB, partition1) and (topicA, partition3) streamProducer1 gets (topicA, partition2), (topicB, partition2)
this class dispatches kafka kafka.common.TopicAndPartition to gearpump tasks
default grouper groups TopicAndPartitions among StreamProducers by partitions
e.g. given 2 topics (topicA with 2 partitions and topicB with 3 partitions) and 2 streamProducers (streamProducer0 and streamProducer1)
streamProducer0 gets (topicA, partition1), (topicB, partition1) and (topicA, partition3) streamProducer1 gets (topicA, partition2), (topicB, partition2)