# Architecture

## Notification Service **Architecture**

<div data-full-width="true"><figure><img src="/files/i1mmmFc4LOvEcPaExvA1" alt=""><figcaption><p>Notification Service Architecture</p></figcaption></figure></div>

## Flow Diagram

<div data-full-width="true"><figure><img src="/files/jN4L071fSb7dpoXHYaPF" alt=""><figcaption><p>Notification Service Flow Diagram</p></figcaption></figure></div>

1. From Notification Service **Sync AP**I call is sent to the **SMS/email** provider and **Async API** call is sent to the **Kafka cluster**.
2. If processing the notification is failed then the same message is pushed to the topic **Kafka** and then it is processed by the notification flink job in Lern data-pipeline.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://lern.sunbird.org/use/developer-guide/notification-service/architecture.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
