Package

org.apache.gearpump.streaming.kafka.lib.source

grouper

Permalink

package grouper

Visibility
  1. Public
  2. All

Type Members

  1. class DefaultPartitionGrouper extends PartitionGrouper

    Permalink

    default grouper groups TopicAndPartitions among StreamProducers by partitions

    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)

  2. trait PartitionGrouper extends AnyRef

    Permalink

    this class dispatches kafka kafka.common.TopicAndPartition to gearpump tasks

Ungrouped