Skip to content
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

Support redis max-attempts #99

Closed
wants to merge 4 commits into from

Conversation

jaymell
Copy link
Contributor

@jaymell jaymell commented Aug 29, 2024

This adds a max-attempts option to both Redis queue implementations.
This is the first step in supporting deadletter queuing.

An InternalPayload type has been added that is shared across both
Redis queue implementations and tracks the number of times
a message has previously been enqueued (i.e., nacked or failed
processing) and stops re-queuing if that number has been reached.

@jaymell jaymell force-pushed the james/redis-max-attempts branch from e7bbc16 to abc5ee5 Compare August 30, 2024 01:12
@jaymell jaymell closed this Aug 30, 2024
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