接口 RedeliveryBackoff

所有超级接口:
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.
  • 方法概要

    修饰符和类型
    方法
    说明
    long
    next(int redeliveryCount)
     
  • 方法详细资料

    • next

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