Class DuplicatingPollStrategy

java.lang.Object
com.linkedin.venice.unit.kafka.consumer.poll.AbstractPollStrategy
com.linkedin.venice.unit.kafka.consumer.poll.DuplicatingPollStrategy
All Implemented Interfaces:
PollStrategy

public class DuplicatingPollStrategy extends AbstractPollStrategy
A PollStrategy implementation which can introduce duplicates. The message payload is duplicated verbatim, but the Kafka offsets are incremented, as it would happen in a real Kafka deployment.