Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Task 6. SQS & SNS, Async Microservices Communication #33

Open
Guria opened this issue Nov 2, 2022 · 0 comments
Open

Task 6. SQS & SNS, Async Microservices Communication #33

Guria opened this issue Nov 2, 2022 · 0 comments

Comments

@Guria
Copy link
Owner

Guria commented Nov 2, 2022

Task 6 assignment

Note for reviewers

Task 6 Artifacts

Task 6.1 (Pull Request #29)

✔️ Create a lambda function called catalogBatchProcess which will be triggered by an SQS event.
✔️ Create an SQS queue called catalogItemsQueue, in the resources section.
✔️ Configure the SQS to trigger lambda catalogBatchProcess with 5 messages at once via batchSize property.
✔️ The lambda function should iterate over all SQS messages and create corresponding products in the products table.

Task 6.2 (Pull Request #31)

✔️ Update the importFileParser lambda function to send each CSV record into SQS.
✔️ It is no longer log entries to CloudWatch.

Middify for non http handlers now use appropriate middlewares to log inputs, outputs and errors.

Task 6.3 (Pull Request #26)

✔️ Create an SNS topic and email subscriptions.
✔️ Update the catalogBatchProcess lambda function to send an event to the SNS topic once it creates products.
catalogBatchProcess lambda is covered by unit tests
➕ There are 2 email subscriptions with different filtering rules

Links to deployment

Deployments links removed since its outdated and there are newer tasks implemented.

Email SNS notifications screenshot:
image

@Guria Guria changed the title Task 6: SQS & SNS, Async Microservices Communication Task 6. SQS & SNS, Async Microservices Communication Nov 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant