Interface RedeliveryBackoff

  • All Superinterfaces:
    java.io.Serializable

    @Public
    @Stable
    public interface RedeliveryBackoff
    extends java.io.Serializable
    Interface for custom message is negativeAcked policy, users can specify a RedeliveryBackoff for a consumer. Notice: the consumer crashes will trigger the redelivery of the unacked message, this case will not respect the RedeliveryBackoff, which means the message might get redelivered earlier than the delay time from the backoff.
    • Method Detail

      • next

        long next​(int redeliveryCount)
        Parameters:
        redeliveryCount - indicates the number of times the message was redelivered