接口 RedeliveryBackoff
- 所有超级接口:
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.-
方法概要
-
方法详细资料
-
next
long next(int redeliveryCount) - 参数:
redeliveryCount
- indicates the number of times the message was redelivered
-