Posted On: Oct 27, 2023
Amazon Simple Notification Service (Amazon SNS) First-In-First-Out (FIFO) topics now support a no-code, in-place option to store and replay your messages, without the need to provision a separate archival resource. This improves the durability of your event-driven applications, and can help you recover from downstream failure scenarios.
Topic owners can now set an archive policy, which defines a retention period for the messages published to their topic. Subscribers can then set a replay policy to an individual subscription, which triggers a replay of select messages from the archive, from a starting point until an ending point. Subscribers can also set a filter policy on their subscription to further select the messages in-scope for a replay.
Amazon SNS is a messaging service that supports Application-to-Application (A2A) communication. The A2A functionality provides topics for high-throughput, push-based, many-to-many messaging between distributed systems, microservices, and event-driven serverless applications. Amazon SNS Standard topics provide best-effort ordering and at-least-once-delivery, while Amazon SNS FIFO topics support strict ordering and exactly-once delivery. Both Standard and FIFO topics support message filtering and fanout to multiple subscriptions, with high durability and security.
Amazon SNS message archiving and replay for FIFO topics is available in all AWS Regions, except for AWS GovCloud (US) Regions.
To learn more about this new feature, see the following:
- Message archiving and replay, in the Amazon SNS Developer Guide
- Archiving and replaying messages with Amazon SNS FIFO, in the AWS Compute Blog