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 ?

feita há 3 anos1087 visualizações
1 Resposta
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
respondido há 3 anos

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas