Add notification-service module: Kafka fan-out by user preference, per-channel templates, rate-limited workers, non-blocking retries with DLT, idempotent delivery (10 tests on embedded Kafka, 9 transcripts)
Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017ic4b7rAEgiNi4Fo94nVoB
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
Template rendering: one template id, one body per channel
|
||||
=========================================================
|
||||
|
||||
EMAIL ( 61 chars) Hi Asha, your order A-1042 has shipped and arrives on 27 Nov.
|
||||
SMS ( 33 chars) Order A-1042 shipped. ETA 27 Nov.
|
||||
PUSH ( 32 chars) Asha, order A-1042 is on its way
|
||||
|
||||
A template with no body for a channel never goes out on it (otp has only SMS):
|
||||
otp channels: [SMS]
|
||||
|
||||
A missing parameter is an error, not an empty string:
|
||||
MissingParameterException: no value for {{eta}}
|
||||
Reference in New Issue
Block a user