When building application integrations, there are two common approaches: request-response and event-driven architecture. In request-response architecture, the client sends a request (e.g. SOAP/REST API) and expects a response synchronously. In the event-driven architecture, the client generates an event and can immediately move on to its next task. Loosely coupled integrations enable less brittle and scalable architectures.
A new way to publish and subscribe to Salesforce Platform Events is coming: the Pub/Sub API, and you can learn more in this blog post. We can write a listener in AWS (or any external system) to subscribe to the Salesforce Platform Events and process them. With the new Event Relays beta, each custom platform event or change data capture event that is published to the Salesforce event bus is automatically forwarded to an event bus in Amazon EventBridge. That means if you are using AWS, you can subscribe to the Salesforce Platform Events without
Leave a Reply