Interface RedeliveryBackoff

All Superinterfaces:
Serializable

@Public @Stable public interface RedeliveryBackoff extends 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 Summary

    Modifier and Type
    Method
    Description
    long
    next(int redeliveryCount)
     
  • Method Details

    • next

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