接口的使用
org.apache.pulsar.client.api.RedeliveryBackoff
使用RedeliveryBackoff的程序包
-
org.apache.pulsar.client.api中RedeliveryBackoff的使用
修饰符和类型方法说明ConsumerBuilder.ackTimeoutRedeliveryBackoff(RedeliveryBackoff ackTimeoutRedeliveryBackoff) redeliveryBackoff doesn't work with `consumer.negativeAcknowledge(MessageId messageId)` because we are unable to get the redelivery count from the message ID.ConsumerBuilder.negativeAckRedeliveryBackoff(RedeliveryBackoff negativeAckRedeliveryBackoff) negativeAckRedeliveryBackoff doesn't work with `consumer.negativeAcknowledge(MessageId messageId)` because we are unable to get the redelivery count from the message ID.