Class KafkaConsumerServiceDelegator.DefaultConsumerPoolStrategy
- java.lang.Object
-
- com.linkedin.davinci.kafka.consumer.KafkaConsumerServiceDelegator.ConsumerPoolStrategy
-
- com.linkedin.davinci.kafka.consumer.KafkaConsumerServiceDelegator.DefaultConsumerPoolStrategy
-
- Direct Known Subclasses:
KafkaConsumerServiceDelegator.AAOrWCLeaderConsumerPoolStrategy
- Enclosing class:
- KafkaConsumerServiceDelegator
public class KafkaConsumerServiceDelegator.DefaultConsumerPoolStrategy extends KafkaConsumerServiceDelegator.ConsumerPoolStrategy
-
-
Field Summary
Fields Modifier and Type Field Description protected KafkaConsumerServicedefaultConsumerService-
Fields inherited from class com.linkedin.davinci.kafka.consumer.KafkaConsumerServiceDelegator.ConsumerPoolStrategy
consumerServices
-
-
Constructor Summary
Constructors Constructor Description DefaultConsumerPoolStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description KafkaConsumerServicedelegateKafkaConsumerServiceFor(PartitionReplicaIngestionContext topicPartitionReplicaRole)java.util.List<KafkaConsumerService>getConsumerServices()
-
-
-
Field Detail
-
defaultConsumerService
protected final KafkaConsumerService defaultConsumerService
-
-
Method Detail
-
delegateKafkaConsumerServiceFor
public KafkaConsumerService delegateKafkaConsumerServiceFor(PartitionReplicaIngestionContext topicPartitionReplicaRole)
- Specified by:
delegateKafkaConsumerServiceForin classKafkaConsumerServiceDelegator.ConsumerPoolStrategy
-
getConsumerServices
public java.util.List<KafkaConsumerService> getConsumerServices()
- Overrides:
getConsumerServicesin classKafkaConsumerServiceDelegator.ConsumerPoolStrategy
-
-