Skip to content

Add Pulsar reconsumeLater API #695

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

GuillaumeCavelier
Copy link

Pulsar has a retry letter topic feature that allows messages to be pushed to a dedicated topic while waiting to be resent to the consumer.

This feature is disabled by default and must be enable when building the consumer with enableRetry(true). When enabled, if the consumer calls the reconsumeLater method, the message will be pushed to a -RETRY topic and redelivered to the consumer after the period defined when calling reconsumeLater.

The maximum number of time the message can be redelivered is defined by the maxRedeliverCount parameter of the DeadLetterPolicy of the consumer.

When this limit is reached, the message is sent to the dead letter topic.

This PR aims to add the reconsumeLater API to the Scala implementation.

Pulsar has a retry letter topic feature that allows messages
to be pushed to a dedicated topic while waiting to be resent
to the consumer.

This feature is disabled by default and must be enable
when building the consumer with `enableRetry(true)`.
When enabled, if the consumer calls the `reconsumeLater`
method, the message will be pushed to a `-RETRY` topic
and redelivered to the consumer after the period defined
when calling `reconsumeLater`.

The maximum number of time the message can be redelivered
is defined by the `maxRedeliverCount` parameter of the
DeadLetterPolicy of the consumer.

When this limit is reached, the message is sent to the
dead letter topic.

This PR aims to add the reconsumeLater API to the Scala implementation.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant