This Level 2 diagram shows an example of the publish / subscribe pattern that includes multiple publishers, multiple subscribers, and multiple events being delivered through channels in an event bus. In this pattern, the same system can be both a publisher and a subscriber and a system can subscribe to multiple events.

Download Diagram
Open the template in Lucidchart (Lucidchart account required)

Pattern Overview

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:

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.