Package org.apache.pulsar.client.api
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 aRedeliveryBackofffor a consumer. Notice: the consumer crashes will trigger the redelivery of the unacked message, this case will not respect theRedeliveryBackoff, which means the message might get redelivered earlier than the delay time from the backoff.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longnext(int redeliveryCount)
-