ImmediateRetryAsyncErrorHandler changes msg visibility timeout to zero. (#1314)#1370
Conversation
tomazfernandes
left a comment
There was a problem hiding this comment.
Hey Bruno and Rafael, thanks for the PR!
I left a few comments, please let me know if they make sense to you or if you have any questions.
Thanks!
28e34c3 to
d65e453
Compare
Hey there Tomaz! Thank you for reviewing our PR. Your suggestions make a lot of sense and we have just commited the changes. Please let us know if there is anything else we could change/improve. |
d65e453 to
6eb4d7f
Compare
tomazfernandes
left a comment
There was a problem hiding this comment.
Hey @rafaelcgpava, thanks for the adjustments!
This looks good, I've just left a couple more details for your consideration.
I'll also ask you to add this feature to the docs (sqs.adoc), including how to set it up (just declare it as a bean for auto-configuration, or add to a Factory / Container directly).
Please let me know if you have any questions / suggestions.
6eb4d7f to
a84644f
Compare
a84644f to
9bf1c2b
Compare
9bf1c2b to
c9d96a9
Compare
|
Hey @tomazfernandes, thank you for the review! We've just pushed the requested changes. Please let us know if there's anything else we should revise or improve. 🎉 🚀 |
tomazfernandes
left a comment
There was a problem hiding this comment.
Almost there @rafaelcgpava and @brun0-4ugusto!
c9d96a9 to
3053ed0
Compare
|
@tomazfernandes once again, thank you very much for your feedback and the suggestions you have been making! It has been a great learning experience! I´ve just commited the changes we've made from your suggestions =) I had a question about the note we´ve left saying that there was only the AsyncErrorHandler implementation for ImmediateRetry, however I checked that we adapt ErrorHandlers to AsyncErrorHandlers using BlockingErrorHandlerAdapter, and it makes a lot of sense to remove that note. |
|
Hi @tomazfernandes! I hope this message finds you well. I just wanted to kindly check if there are any changes needed on the PR — I’m available to assist with any updates you might require. |
tomazfernandes
left a comment
There was a problem hiding this comment.
Looking great @rafaelcgpava and @brun0-4ugusto , thanks for the PR!
Looking forward to new PRs!
If you want a suggestion, how about we create a LinearBackOffErrorHandler, or an ExponentialBackOffErrorHandler?
Your call, please let me know if there's anything I can help with.
Thanks again!
|
Thanks again, @tomazfernandes! We’ve already started working on the |
…o. (awspring#1314) (awspring#1370) Co-authored-by: budyguinho <[email protected]>
📢 Type of change
📜 Description
New ImmediateRetryAsyncErrorHandler to change message visibility timeout to zero when an error occurs
💡 Motivation and Context
As mentioned in (#1313), it was not possible to immediatly report back an error to AWS SQS. This enhancement allows this feature to immediatly make the message available for retry by changing it's visibility timeout to zero.
See #1314
💚 How did you test it?
Unit test, Integration test, manual tests with a sample application
📝 Checklist
🔮 Next steps