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 ?

gefragt vor 2 Jahren940 Aufrufe
1 Antwort
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
beantwortet vor 2 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen