Skip to content

7 - Notification Service not implemented #2

@bchewy

Description

@bchewy

The notification microservice is designed to perform the following actions in response to incoming messages from RabbitMQ with a routing key matching the pattern notification.*:

Receive Messages:

  1. Continuously listen for incoming messages from RabbitMQ.
    Specifically, subscribe to the notifications exchange and bind to a queue with the routing key notification.*.

  2. Process and Send Email Notifications:
    Upon receiving a message, parse the message payload to extract notification details such as the recipient's email address, email subject, and body.
    Utilize AWS Simple Email Service (SES) to send the email notification to the user. Ensure that error handling and logging are in place for successful and failed email deliveries.

  3. Log Notification Details:

After sending the email, make a call to the log microservice endpoint to record the notification event. This should include the notification's metadata, such as the timestamp, recipient email, and the status of the email delivery (success or failure).

  1. Microservice Lifecycle:
    The microservice should be stateless, with the ability to be scaled horizontally.
    Ensure graceful shutdown procedures are in place to handle service interruptions without losing messages or causing duplicate notifications.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions