Class ArbitraryOrderingPollStrategy
java.lang.Object
com.linkedin.venice.unit.kafka.consumer.poll.AbstractPollStrategy
com.linkedin.venice.unit.kafka.consumer.poll.ArbitraryOrderingPollStrategy
- All Implemented Interfaces:
PollStrategy
A
PollStrategy
implementation which delivers messages in the order specified
at construction time.-
Field Summary
Fields inherited from class com.linkedin.venice.unit.kafka.consumer.poll.AbstractPollStrategy
keepPollingWhenEmpty
-
Constructor Summary
ConstructorsConstructorDescriptionArbitraryOrderingPollStrategy
(Queue<PubSubTopicPartitionOffset> pollDeliveryOrder) -
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
-
ArbitraryOrderingPollStrategy
-
-
Method Details
-
getNextPoll
- Specified by:
getNextPoll
in classAbstractPollStrategy
-