Class KafkaConsumerBackoffManager

  • All Implemented Interfaces:
    java.util.EventListener, org.springframework.context.ApplicationListener<ListenerContainerPartitionIdleEvent>

    public class KafkaConsumerBackoffManager
    extends java.lang.Object
    implements org.springframework.context.ApplicationListener<ListenerContainerPartitionIdleEvent>
    A manager that backs off consumption for a given topic if the timestamp provided is not due. Use with SeekToCurrentErrorHandler to guarantee that the message is read again after partition consumption is resumed (or seek it manually by other means).
    Since:
    2.7
    Author:
    Tomaz Fernandes
    See Also:
    SeekToCurrentErrorHandler