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년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인