saayam-for-all / request

GNU General Public License v3.0
1 stars 0 forks source link

Send Asynchronous Notifications to Users #10

Open scheng0127 opened 3 months ago

scheng0127 commented 3 months ago

Description We need to send asynchronous messages to users after a request is created, a volunteer is chosen for a request, etc. Utilize AWS SNS, SES, and SQS to send async messages to specific users on certain events.

Add AWS Config in the spring boot config file.

Modify the controller to send messages to SNS/SES/SQS with specific targets and attributes (not topics).

Use SQS + lambda to achieve Separation of concerns. Send messages to SQS, then use the lambda function to recognize the message type and redirect to SNS/SES.

scheng0127 commented 2 months ago

Implemented lambda and SQS on Saayam account. Proceeding to test SMS message sending, then research SES.

scheng0127 commented 2 months ago

Tested SMS message sending. Implemented and tested SES email-sending logic on Saayam account.

Next Step: Fully test SNS+SES combination and edge cases Refine/optimize logic, add prints for cloudwatch log

Aim to demo by the end of this week (by Sept 6)

scheng0127 commented 2 months ago

Demoed using console.

Next step: integrate SQS message sending into microservice