Publish/Subscribe (Pub/Sub)

Substation supports publish/subscribe (pub/sub) messaging patterns by using AWS SNS. This is the recommended way to send notifications from a single node to multiple subscribers.

External Publishers

The system can act as a simple, multicast pub/sub that relies on an external publisher, such as a microservice:

Integrated Pub/Sub

The pub/sub pattern can also be integrated inside of other data pipeline patterns:

Notification Systems

Complex notification systems can be created by chaining pub/sub patterns, and Substation nodes can be configured as publishers and subscribers to support data transformation use cases:

First-In, First-Out (FIFO)

Message ordering and deduplication is possible using a FIFO topic along with FIFO SQS queues: