Posted On: Sep 17, 2023
You can now subscribe Amazon Simple Queue Service (SQS) Standard queues to Amazon Simple Notification Service (SNS) First-In-First-Out (FIFO) topics. Thus, from a single SNS FIFO topic, you can now deliver messages to SQS Standard queues, which offer best-effort ordering and at-least-once delivery, as well as to SQS FIFO queues, which support strict ordering and exactly-once delivery. This new capability further decouples message publishers from subscribers, as the SNS topic type no longer dictates the SQS queue type that subscribers ought to use.
Amazon SNS provides high-throughput, push-based, many-to-many messaging between distributed systems, microservices, and event-driven serverless applications. SNS Standard topics provide best-effort ordering and at-least-once-delivery, while SNS FIFO topics support strict ordering and exactly-once delivery. Both Standard and FIFO topics support message fan-out to multiple subscriptions, with high durability, security, and message filtering.
SNS FIFO message delivery to SQS Standard queues is available in the Amazon Web Services China (Ningxia) Region, operated by NWCD, and the Amazon Web Services China (Beijing) Region, operated by Sinnet.
To learn more, see:
- Message delivery for FIFO topics, in the Amazon SNS Developer Guide
- FIFO queues and Standard queues, in the Amazon SQS Developer Guide