-
Notifications
You must be signed in to change notification settings - Fork 146
Invalid MessageAttributes on SNS #4316
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
Comments
Looking forward to see a release with the fix then 👍 I hate to be the person asking, but since it was fixed in DataDog/dd-trace-py#3404 15 months ago, is there are way you could have known about this and avoided enabling SNS support for dotnet before including a similar fix? |
Hey @jnyrup that's my fault personally, I didn't properly communicate this possibility when assigning the task, and it seems that there was misunderstanding about AWS actually fixing this issue within SNS, it appears they have not. I apologize for overlooking this risk. |
I'm sorry, by "you" I definitely didn't intent to refer directly to you personally or any other individual on the DataDog teams, but merely to general cross-team collaboration. Feel free to close this issue or keep it as tracking issue for the fixing PR. |
If you'd like to continue using Tracer version: 2.32.0 you can disable the sns integration using |
Describe the bug
After we upgraded to 2.32.0 our subscription filters on AWS SNS unfortunately broke, so messages were not forwarded to SQS queues.
Looking into AWS CloudWatch metrics we saw
NumberOfNotificationsFilteredOut-InvalidAttributes
had started to happen.https://repost.aws/knowledge-center/sns-subscription-filter-policy-issues
After downgrading to 2.31.0 we stopped getting
NumberOfNotificationsFilteredOut-InvalidAttributes
.Here's the
MessageAttributes
of one of our messages, but nothing in there immediately looks suspicious to me.To Reproduce
Expected behavior
MessageAttributes
should contain valid data, parsable by AWS SNS subscription filters.Runtime environment (please complete the following information):
Additional context
The text was updated successfully, but these errors were encountered: