GitHub user Raunak-Agrawal created a discussion: Need max redelivery count at 
message level.

I am trying to implement retries at the message level. Depending on the type of 
message ( which is failed due to some exceptions) , I want to have different 
retry policy. Like some will have exponential retry with max retries of 10. And 
some will have constant retry with retries happening till 12pm midnight.

I an trying to use reconsumeLater to do this. But I am not sure how to set 
maxRedelivery at message level. Because from the docs, I can see, it needs to 
be set at consumer level. 

I am also expecting after retries are exhausted, messages move to the DLQ. 

GitHub link: https://github.com/apache/pulsar/discussions/17626

----
This is an automatically sent email for dev@pulsar.apache.org.
To unsubscribe, please send an email to: dev-unsubscr...@pulsar.apache.org

Reply via email to