Class ContainerPartitionPausingBackOffManager

java.lang.Object
org.springframework.kafka.listener.ContainerPartitionPausingBackOffManager
All Implemented Interfaces:
KafkaConsumerBackoffManager

public class ContainerPartitionPausingBackOffManager extends Object implements KafkaConsumerBackoffManager
A manager that backs off consumption for a given topic if the timestamp provided is not due. Use with DefaultErrorHandler to guarantee that the message is read again after partition consumption is resumed (or seek it manually by other means). Note that when a record backs off the partition consumption gets paused for approximately that amount of time, so you must have a fixed backoff value per partition.
Since:
2.9
Author:
Tomaz Fernandes, Gary Russell
See Also: