Is there a possibility SNS topic subscription can filter messages based on custom message header ? And Does SNS supports message grouping ?

0

Currently based on aws documentation I don't see that SNS supports header based routing. Would like to know if it can provide such functionality in future. Another question is , does SNS supports message grouping ?

已提问 2 年前940 查看次数
1 回答
1

Hello, good question

For the first part, may be filter policies can be used (Note: A filter policy can have a maximum of 5 attribute names and Amazon SNS ignores message attributes with the Binary data type.) https://docs.aws.amazon.com/sns/latest/dg/example-filter-policies.html

The following is for the second part of the question SNS seems to support publishing batches of up to 10 messages in a single API request https://aws.amazon.com/about-aws/whats-new/2021/11/amazon-sns-supports-publishing-batches-messages-single-api-request/

Blog post: https://aws.amazon.com/blogs/compute/publishing-messages-in-batch-to-amazon-sns-topics/

profile picture
Sri
已回答 2 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则