Class 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.