-
Notifications
You must be signed in to change notification settings - Fork 17
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
Add SNS request Id to log message when message is published #757
Add SNS request Id to log message when message is published #757
Conversation
If the publish is fails with an exception then today you can use |
Ah - for some reason I thought that capability only existed in v7. In that case, we can just use that and not bother changing the logs. |
Just checked the tags of the merge commit (ef8334a) and it's in all the v6 releases. |
I saw the messageId is returned, but lately AWS started asking for RequestId which is not currently added to the |
Also I forgot to say that in our case the request doesn't fail, so we would not have the |
Ah yeah, that doesn't help |
I don't think adding it to the existing object makes sense, cause it relies on an exception occuring. I think this change makes most sense 👍 |
Co-authored-by: maurofranchi <mauro.franchi@just-eat.com>
Co-authored-by: maurofranchi <mauro.franchi@just-eat.com>
Added SNS request Id to log message when message is published (#757)
We are currently experiencing some SNS issues in production and AWS always ask us to provide them with some SNS Request Ids related to the problematic publish operations. Unfortunately JustSaying is not returning it.
This PR is to simply add the returned request Id (if present) to the message logged when a message is published.
I know V6 is currently in maintenance mode but this could help us investigate a bit better on any issue we might have on AWS.