alphashaw commented on issue #5991: Consumer negative acknowledgement not working URL: https://github.com/apache/pulsar/issues/5991#issuecomment-570817990 Well I just realized that a call to `Consumer#negativeAcknowledge(MessageId)` does not actually trigger the redelivery mechanism but add the `MessageId` to the list of ids to be redeliver. The actual triggering is scheduled by a timer controlled by `ConsumerBuilder#negativeAckRedeliveryDelay()`. So, setting this delay to 100ms creates the effect I expected.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
