Monday, May 17, 2021

Creating a Publish/Subscription Spring Boot Application

 You can create a web application that has subscription and publish functionality by using the Amazon Simple Notification Service (Amazon SNS). The application created in this AWS tutorial is a Spring Boot web application that lets a user subscribe to an Amazon SNS topic by entering a valid email address. A user can enter many emails and all of them are subscribed to the given SNS topic (once the email recipients confirm the subscription). The user can publish a message that results in all subscribed emails receiving the message.

Note: Amazon SNS is a managed service that provides message delivery from publishers to subscribers (also known as producers and consumers). For more information, see What is Amazon SNS?

To subscribe to an Amazon SNS topic, the user enters a valid email address into the web application.


The specified email address recieves an email message that lets the recipient confirm the subscription.



Once the email recipient accepts the confirmation, that email is subscribed to the specific SNS topic and receives published messages. To publish a message, a user enters the message into the web application and then chooses the Publish button.




I work on AWS Java code that helps AWS developers. Included in this role is working with AWS Services such as S3, DynamoDB, EC2, Lambda functions, and so on. 

https://www.linkedin.com/in/scottmacdonald2010/




No comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Deploying a Java web application to Amazon ECS

 You can deploy a Java web application that uses the AWS SDK for Java (v2) to Amazon Elastic Container Service (Amazon ECS). Amazon ECS is a...