Filter a fanout with SNS subscription filter policies
At NimbusCart, one SNS topic fans out order events to several SQS queues, and you're checking how subscription filter policies route them.
Use the fanout visualizer to see how one SNS topic distributes messages to multiple SQS queue subscribers. Each subscription can have a filter policy that decides which messages that queue actually receives. Publish a message and watch how the message attributes are matched against each queue's filter policy.
Question: An SNS topic fans out to three SQS queues. The 'high-priority' queue has a subscription filter policy of {"severity": ["critical"]}. A message is published with attribute severity="warning". What happens?
This exercise is part of the course
Deploying Applications on AWS
Hands-on interactive exercise
Turn theory into action with one of our interactive exercises
Start Exercise