Files

15 lines
650 B
Plaintext

HTTP in, Kafka in the middle, providers at the end
==================================================
POST /api/notifications
{"requestId":"<requestId>","userId":"<userId>","templateId":"welcome","params":{"name":"Asha"}}
HTTP 202
{"requestId":"<requestId>"}
what happened afterwards
EMAIL FANNED_OUT notification.requests publishing to notify.email
EMAIL SENT notify.email attempt 1
SMS SKIPPED notification.requests user has not opted in
PUSH FANNED_OUT notification.requests publishing to notify.push
PUSH SENT notify.push attempt 1