Interface BackOffHandler

    • Method Detail

      • onNextBackOff

        default void onNextBackOff​(@Nullable
                                   MessageListenerContainer container,
                                   java.lang.Exception exception,
                                   long nextBackOff)
        Perform the next back off.
        Parameters:
        container - the container.
        exception - the exception.
        nextBackOff - the next back off.
      • onNextBackOff

        default void onNextBackOff​(MessageListenerContainer container,
                                   org.apache.kafka.common.TopicPartition partition,
                                   long nextBackOff)
        Perform the next back off for a partition.
        Parameters:
        container - the container.
        partition - the partition.
        nextBackOff - the next back off.