SQS enables you to subscribe your queues to SNS topics. You can choose from a list of already available SNS topics and subscribe the queue to that topic. Subscription permission is automatically managed by SQS. When a message is published to a topic in SNS, that message automatically goes to all the queues subscribed to that topic. For more details on SNS, you can refer to Chapter 13, Simple Notification Service.
At present, only standard queues can subscribe to an SNS topic. FIFO queues are presently not supported for topic subscription.
Here are the steps to subscribe a queue to an SNS topic:
- Select a queue from the queue list, as shown in Figure 12.26:
Figure 12.26: Queue list
- Click Queue Actions, and then Subscribe Queue to SNS Topic, as shown here:
Figure 12.27: Queue Actions-Subscribe Queue to SNS Topic
- From the subsequent...