-
Notifications
You must be signed in to change notification settings - Fork 119
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
Retries handling - how to stop retrying a message after a number of failures #248
Comments
Sorry, I didn't see your report sooner. Thanks for contributing! Ah - yes, simply catch exceptions from your function, and do not throw any exception back up. I.e. "swallow" the exception. This will make PC think the processing has succeeded, and will continue. You can record the number of failed attempts somewhere in your code, or you can use the new Also keep an eye on:
See: |
If parallel consumer got exception during the consuming event it try to process it again infinity amount. Could you suggest please, how can I handle retries and set a max limit?
The text was updated successfully, but these errors were encountered: