Class CompositePollStrategy
java.lang.Object
com.linkedin.venice.unit.kafka.consumer.poll.AbstractPollStrategy
com.linkedin.venice.unit.kafka.consumer.poll.CompositePollStrategy
- All Implemented Interfaces:
PollStrategy
A
PollStrategy
implementation which takes a queue of many poll strategies.
It will drain each poll strategies in the order they are provided before moving on
to the next one.-
Field Summary
Fields inherited from class com.linkedin.venice.unit.kafka.consumer.poll.AbstractPollStrategy
keepPollingWhenEmpty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected PubSubTopicPartitionOffset
getNextPoll
(Map<PubSubTopicPartition, Long> offsets) Methods inherited from class com.linkedin.venice.unit.kafka.consumer.poll.AbstractPollStrategy
incrementOffset, poll
-
Constructor Details
-
CompositePollStrategy
-
-
Method Details
-
getNextPoll
- Specified by:
getNextPoll
in classAbstractPollStrategy
-