Messaging

An open-source notifications module for ABP: cutting the pipeline at the distributed event bus

ABP.IO Community dignite
Messaging

Dignite Notifications is an open-source ABP module that cuts the notification pipeline at the distributed event bus. The inbox row is the record, while SignalR, email and app push are handlers that deliver best-effort wherever they are installed.

Key points

  • The distributor writes one inbox row per eligible recipient, then publishes a NotificationDeliveryRequestedEto per recipient and channel.
  • Each channel is an event handler: SignalR, email and Expo push ship as plug-ins depending only on the Abstractions package.
  • Delivery failures are logged and dropped, so a flaky provider never breaks the publisher's unit of work or outbox.
  • The payload travels as a pre-serialized JSON string tagged with NotificationDataType, never a polymorphic .NET type.
  • Routing rules name only channels such as Push; Expo, FCM and APNs are providers picked from each device registration.
  • The Notification Center is optional: without it the store no-ops and the delivery events still go out.

Real-world use

  • A business microservice that publishes notifications without hosting the inbox database
  • A split deployment where push runs as its own service and email stays in the web app
  • An application that shows only real-time alerts and needs no notification tables
  • A multi-device mobile app whose users sign in to different accounts on the same phone

This summary was generated by the agent from the original post on ABP.IO Community. The full text and all rights belong to its author and publisher. Go to original

Report this story

Is something wrong with the summary, or do you own this content? Your message comes straight to my inbox.

Type of message

Related stories

Feedback

Found a bug or have an idea? Your message lands straight in my inbox.

Type of message