Skip to content

Latest commit

 

History

History
20 lines (13 loc) · 1.58 KB

notification_engine.md

File metadata and controls

20 lines (13 loc) · 1.58 KB

Notification Engine

Notification engine contains 4 major subcompoents and 2 major databases. It provides a single entry point for sending notifications via various mechanisms. It reduces the effort of having each domains within the system creates and maintains its own notification module.

The Public API provides APIs such as create_topic, subscribe_topic and publish_message, for other services to interact with Notification engine. The topics and subscribers are added to the Topics and Subscribers Databases

The Message Retriever is responsible of interaction with the queue.

The Retry Mechanism ensures each client receives message at least once. It has in-memory database to retry the message for a predefined number of time, and when all these attempts fail, it persistent the message into Short Term Message Database for retry later.

The Sender encapsulates all the details of interfacing with SMS, Email Push Notification libraries.

Communicates With: