开始使用免费开始使用

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?

本练习是课程的一部分

Deploying Applications on AWS

查看课程

动手互动练习

通过我们的互动练习之一,将理论转化为实践

开始练习