Search⌘ K

Processing SNS Messages

Explore how to process SNS messages by publishing single or batch messages, enabling raw message delivery, filtering messages based on policies, and monitoring for sensitive data with data protection policies. Understand how to extend message size and protect sensitive information while integrating AWS applications.

The data sent from a producer to an SNS topic in Amazon SNS is known as a message. This message is then distributed to all of the subscribers of the topic. Let’s look at the different features Amazon SNS provides us to publish and receive messages.

Publishing messages

After creating an SNS topic and adding subscribers, we can publish messages to a topic using the AWS Management Console or the AWS SDK. The maximum size of the message we can publish is 256 KB, however, we can extend this size by using the Extended Client Libraries for Java and Python

Using these libraries, we can extend the maximum message size to 2 GB. These libraries work by storing the actual payload of our message in an S3 bucket and sending the reference to this bucket to the ...