Class TopicPartitionForIngestion
java.lang.Object
com.linkedin.davinci.kafka.consumer.TopicPartitionForIngestion
This class is a wrapper of pair of <Version Topic, Version /Real time topic partition>. As for a unique topic partition
to be ingested, We need both version topic and pub-sub topic partition to identify. For example, the server host may
ingestion same {#linkPubSubTopicType.REALTIME_TOPIC} partition from different {#link PubSubTopicType.VERSION_TOPIC}s,
and we should avoid sharing the same consumer for them.
TODOļ¼ Modify the Consumer Service to use this class instead of using version topic and pub-sub topic partition separately.
-
Constructor Summary
ConstructorDescriptionTopicPartitionForIngestion
(PubSubTopic versionTopic, PubSubTopicPartition pubSubTopicPartition) -
Method Summary
-
Constructor Details
-
TopicPartitionForIngestion
public TopicPartitionForIngestion(PubSubTopic versionTopic, PubSubTopicPartition pubSubTopicPartition)
-
-
Method Details