lovelle opened a new pull request #3962: Feature / Interceptor for negative ack redelivery URL: https://github.com/apache/pulsar/pull/3962 **Motivation** In some scenarios is it helpful to be able to set interceptor for redeliveries being happening due to negative acknowledge. **Modifications** - Add onNegativeAckRedelivery() method in ConsumerInterceptor interface. - Add handler for onNegativeAckRedelivery() interceptor in ConsumerBase. - Favor forEach on ConsumerInterceptor instead of classic for loop by index. - Add call method to onNegativeAckRedelivery() from NegativeAcksTracker. ### Verifying this change - [ ] Make sure that the change passes the CI checks.
---------------------------------------------------------------- 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
