You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pulsar.apache.org by GitBox <gi...@apache.org> on 2022/09/14 02:21:08 UTC

[GitHub] [pulsar] Raunak-Agrawal edited a discussion: Need max redelivery count at message level.

GitHub user Raunak-Agrawal edited 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 messages will have exponential retry with max retries count of 10. While some messages 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. If we set at consumer level, all messages will inherit the same configuration.

I am also expecting after the 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-unsubscribe@pulsar.apache.org