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...
ReplayId
In Salesforce event-driven systems, Platform Events are delivered at least once — meaning the same message can show up multiple times or even arrive out of order. That’s completely fine, as long as your consumers are idempotent (safe to process more than once) and you have a durable replay strategy...
