Open the template in Lucidchart (Lucidchart account required)
The diagram depicts a typical publish / subscribe pattern with multiple publishers and subscribers sharing data through an event bus. This foundational pattern forms the basis for the more specific patterns that can be found throughout the rest of this guide. Some key characteristics of this pattern are:
- There is no direct connection between publishers and subscribers. Publishers simply send messages to an event bus, which broadcasts them out to any other system that wants to listen for them.
- The same system can be both a publisher and a subscriber.
- Systems may publish or subscribe to multiple types of events.
- As with all of the patterns in this guide, the publish / subscribe pattern falls into a general integration pattern category known as remote procedure invocation (RPI) or simply “fire and forget".
This is a Level 2 Documentation and Implementation diagram according to the Salesforce diagram framework.
Learn more by reading the Architect's Guide to Event-Driven Architecture with Salesforce.