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 KafkaConsumerService
defaultConsumerService
-
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 KafkaConsumerService
delegateKafkaConsumerServiceFor(PartitionReplicaIngestionContext topicPartitionReplicaRole)
java.util.List<KafkaConsumerService>
getConsumerServices()
-
-
-
Field Detail
-
defaultConsumerService
protected final KafkaConsumerService defaultConsumerService
-
-
Method Detail
-
delegateKafkaConsumerServiceFor
public KafkaConsumerService delegateKafkaConsumerServiceFor(PartitionReplicaIngestionContext topicPartitionReplicaRole)
- Specified by:
delegateKafkaConsumerServiceFor
in classKafkaConsumerServiceDelegator.ConsumerPoolStrategy
-
getConsumerServices
public java.util.List<KafkaConsumerService> getConsumerServices()
- Overrides:
getConsumerServices
in classKafkaConsumerServiceDelegator.ConsumerPoolStrategy
-
-