A strong API contract makes integrations peacefully uneventful — and that’s exactly what you want. It tells clients how versions change over time, how to handle large lists of data, what an error looks like, and how to make sure duplicate requests don’t mess things up.Below is a straightforward, ready-to-use...
Idempotency
Salesforce provides two powerful ways to move events in and out of the Event Bus — the modern Pub/Sub API and the Streaming API family (CometD/EMP). Both deliver events with at-least-once semantics and support replay, but they differ in transport protocols, performance, payload formats, and operational fit. Understanding these differences...
Salesforce offers two major ways to stream events across systems — Platform Events (PE) and Change Data Capture (CDC).Both use the Salesforce Event Bus with replay support, but they exist for different reasons. In short: Platform Events are custom, intentional messages you define to represent business actions or commands. Change...
In event-driven Salesforce architectures, messages often outlive the code that processes them. That’s why it’s critical to evolve schemas safely, trace events end-to-end, and handle duplicates without causing side effects. This guide walks you through practical approaches for versioned Platform Events, correlation/causation IDs, and idempotent consumers with deduplication, including compact...
Introduction Salesforce is multi-tenant at its core: many customers share the same runtime, database fabric, and services, while each org’s data and metadata stay logically isolated. To keep this shared environment fast and fair, Salesforce enforces governor (trust) limits—caps on resource usage at the transaction and org level. With Hyperforce,...
