Newer Version Available
Replay Generic Streaming Events with Durable Generic Streaming
A client can receive generic streaming events after it subscribes to a channel and as
long as the Salesforce session is active.
Events sent before a client subscribes to a channel or after a subscribed client disconnects
from the Salesforce session are missed.
However, a client can fetch the missed events within the 24-hour retention window by using Durable Generic Streaming.
For more information about durable events, see Message Durability.
Code Sample
See theses code samples about replaying generic streaming events.