Posted On: Jun 5, 2023
Amazon Simple Notification Service (Amazon SNS), a messaging service that provides high-throughput, push-based, many-to-many messaging between distributed systems, microservices, and event-driven serverless applications, now supports Amazon X-Ray active tracing with Amazon SNS FIFO topics. You can now view traces that flow through Amazon SNS FIFO topics to Amazon Simple Queue Service (Amazon SQS) FIFO queues, in addition to traversing the application topology in Amazon CloudWatch ServiceLens. You can use Amazon SNS FIFO topics, in combination with Amazon SQS FIFO queues, to build applications that require messages to be sent and processed in a strict sequence and without duplicates. You can enable Amazon X-Ray active tracing using the Amazon SNS SetTopicAttributes API, the Amazon SNS Management Console, or via Amazon CloudFormation.
With Amazon X-Ray active tracing enabled for Amazon SNS, customers can identify bottlenecks and monitor the health of event-driven applications by looking at segment details for Amazon SNS topics, such as resource metadata, faults, errors, and message delivery latency for each subscriber.
Active tracing with Amazon X-Ray for Amazon SNS FIFO topics is available in the Amazon Web Services China (Beijing) Region, operated by Sinnet, and the Amazon Web Services China (Ningxia) Region, operated by NWCD. To learn more about enabling Amazon X-Ray active tracing for Amazon SNS, visit the Amazon SNS Developer Guide. For more information on resource policies and how to visualize Amazon SNS requests in Amazon X-Ray, visit the Amazon X-Ray Developer Guide.