Newer Version Available
Subscription Channels
Use the subscription channel that corresponds to the change notifications you want to
receive. The channel name is case-sensitive.
Standard Channels
To receive change event notifications on a standard channel, enable the entities for Change Data Capture. For more information, see Select Objects for Change Notifications and Migrate Object Selections with Metadata API and Tooling API. Then subscribe to the appropriate channel.
- All Change Events
-
1/data/ChangeEvents - Standard Object
-
1/data/<Standard_Object_Name>ChangeEvent - For example, the channel to subscribe to change events for Account records
is:
1/data/AccountChangeEvent - Custom Object
-
1/data/<Custom_Object_Name>__ChangeEvent - For example, the channel to subscribe to change events for Employee__c custom object
records is:
1/data/Employee__ChangeEvent
Custom Channel
Entities are automatically enabled for Change Data Capture when you create a custom channel that includes them. A custom channel has the following format.
1/data/YourChannelName__chnFor example, if your channel name is SalesEvents, the
subscription channel
is:
1/data/SalesEvents__chnFor more information about custom channels, see Compose Streams of Change Data Capture Notifications with Custom Channels.