Newer Version Available
Streaming API
Streaming API enables streaming of events using push technology and provides a
subscription mechanism for receiving events in near real time. The Streaming API subscription
mechanism supports multiple types of events, including PushTopic events, generic events,
platform events, and Change Data Capture events.
Consider the following applications for Streaming API.
- Applications That Poll Frequently
- Applications that have constant polling action against the Salesforce infrastructure, consuming unnecessary API calls and processing time, would benefit from Streaming API because it reduces the number of requests that return no data.
- General Notification
- Use Streaming API for applications that require general notification of data changes in an org to reduce the number of API calls and improve performance.