Newer Version Available
Getting Started with 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 these applications for Streaming API.
- Applications That Poll Frequently
- Applications that have constant polling action against the Salesforce infrastructure consume unnecessary API calls and processing time. They can benefit from Streaming API because it reduces the number of requests that return no data.
- General Notification
- Applications that require general notification of data changes in an org. By using Streaming API, these applications can reduce the number of API calls and improve performance.