Posted On: Sep 14, 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 is a messaging service for Application-to-Application (A2A) and Application-to-Person (A2P) communication. The A2A functionality provides topics for 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 all AWS Regions, except for AWS GovCloud (US) Regions.
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