docs: add architecture documentation and slides
This commit is contained in:
18
docs/adr/003-rabbitmq-sms-worker.md
Normal file
18
docs/adr/003-rabbitmq-sms-worker.md
Normal file
@@ -0,0 +1,18 @@
|
||||
# ADR 003: Dispatch SMS Through RabbitMQ
|
||||
|
||||
## Status
|
||||
|
||||
Accepted.
|
||||
|
||||
## Context
|
||||
|
||||
SMS providers are external services and can fail or respond slowly.
|
||||
|
||||
## Decision
|
||||
|
||||
Publish OTP SMS jobs to RabbitMQ and process them in a dedicated worker with manual acknowledgements, retries, and a dead-letter queue.
|
||||
|
||||
## Consequences
|
||||
|
||||
The auth service remains responsive. SMS delivery is isolated and easier to retry, monitor, and replace.
|
||||
|
||||
Reference in New Issue
Block a user