← Questions
Notification service with several bots per channel
0
I was asked this
No reports yet. Sign in to say where you were asked it.
Design the classes and interfaces for a notification service. A request names its recipients, the content and any of three channels: email, SMS and Slack. Each channel can have several bot integrations registered, and a request goes to every bot of every channel it selects.
Cover:
- how channels and bots are registered and how new ones are added without touching dispatch code;
- one bot failing without stopping the others, and a per-channel, per-bot result (success, failure or unknown) returned to the caller;
- idempotency: resending the same request ID returns the earlier result without calling bots again, and reusing an ID with a different payload is rejected.
Follow-up: how the design changes when delivery becomes asynchronous and individual bots are retried.
No official answer yet. Draw yours on the right; publish it and it shows under Community.
Nothing published yet. Publish your canvas and it shows here for others to open and remix.
Draw your answer hereBoxes, arrows and notes, saved for you to come back to.Sign in to start drawing
