Package com.linkedin.venice.unit.kafka.consumer.poll
package com.linkedin.venice.unit.kafka.consumer.poll
-
ClassDescriptionA base class which encapsulates the common plumbing needed by all
PollStrategy
implementations.APollStrategy
implementation which delivers messages in the order specified at construction time.ThisPollStrategy
delegates polling to another implementation, and also executes an arbitrary function during each poll.APollStrategy
implementation which takes a queue of many poll strategies.APollStrategy
implementation which can introduce duplicates.APollStrategy
implementation which can pluck out records from the stream.This interface is used inside of theMockInMemoryConsumer
in order to mess around with the way messages are delivered to the consuming code.A simplePollStrategy
which delivers messages from any partition, while respecting the ordering guarantee of individual partitions.