Can subscribers selectively receive only a subset of messages published to a topic? - AWS SNS

0 votes
Can subscribers selectively receive only a subset of messages published to a topic? I have a message that I'd like to divide and send. Suppose, I have message "abcde" and I want the first 10 subscribers to only get the message "abc". Is this possible?
Jul 25 in AWS by Dipti
30 views

1 answer to this question.

0 votes

Yes, of course, you can. You can use message filtering on SNS to build a simpler sub-architecture. Message filtering lets you enable SNS message subscribers to selectively receive only a subset of the messages. To monitor the usage of SNS subscription filter policies, use Amazon CloudWatch metrics. 

Have a look at this tutorial: https://aws.amazon.com/getting-started/tutorials/filter-messages-published-to-topics/

answered Jul 25 by Rhea

Related Questions In AWS

+1 vote
1 answer
0 votes
1 answer

Publishing messages from AWS SNS to SQS

Unless you are using SQS FIFO queues, ...READ MORE

answered Aug 24, 2018 in AWS by Priyaj
• 56,520 points
293 views
0 votes
1 answer

AWS SNS - How to get SNS topic by name?

If you know the topic already exists ...READ MORE

answered Sep 4, 2018 in AWS by Archana
• 4,090 points
256 views
0 votes
1 answer
0 votes
1 answer

In Amazon Data Pipeline, how to make sure only once instance of a pipeline is running at any time?

On the CopyTablesActivity, you could set a lateAfterTimeout attribute ...READ MORE

answered Sep 19, 2018 in AWS by Priyaj
• 56,520 points
271 views