This content describes an older version of this product.
View Latest
Keep Your External Data Current with Change Data Capture
Use Change Data Capture to update data in an external system instead
of doing periodic exports and imports of data or repeated API calls. Capturing changes with
Change Data Capture event notifications ensures that your external data can be updated in real
time and stays fresh.
When Do You Use Change Data Capture?
You can think of Change Data Capture as part of the data replication process for the cloud. Data replication includes the following stages.
Change Event Object Support
Change events are available for all custom objects defined in your Salesforce org and a subset of standard objects. Select the objects that you want to get notifications for on the Change Data Capture page in Setup.
Select Objects for Change Notifications
To receive notifications for record changes, select the custom objects and supported standard objects that you are interested in. From Setup, enter Change Data Capture in the Quick Find box, and click Change Data Capture.
Migrate Object Selections with Metadata API
Use the PlatformEventChannel metadata type to retrieve and deploy Change Data Capture object selections that you configured in Setup to another org.
Compose Streams of Change Data Capture Notifications with Custom Channels
Subscribe to a custom channel to receive a stream of the types of events that your app consumes. For example, if you have an app that uses real-time information about sales objects (for example, Account, Contact, and Order), create a custom channel with these objects. When you subscribe to the custom channel, you receive notifications only for these objects.