Class TopicPartitionForIngestion

java.lang.Object
com.linkedin.davinci.kafka.consumer.TopicPartitionForIngestion

public class TopicPartitionForIngestion extends Object
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.