12
Using Platform Events
The first type of integration we will look at is integrating through the use of an event bus and Platform Events. Platform Events make it easy for us to build simple integrations between applications that are event-driven and follow a fire-and-forget paradigm.
As we will discuss, we can use Platform Events to integrate not just with external applications but also across our application, allowing us to decouple our application for improved performance and easier development.
In this chapter, we will discuss the following:
- What event-driven architecture is and how the event bus works
- When to use platform events
- How to define and publish a platform event using a variety of different mechanisms
- How to handle and subscribe ...
Get Mastering Apex Programming - Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.