A CDC event, or change event, is a notification that Salesforce sends when a change to a Salesforce record occurs as part of a create, update, delete, or undelete operation.
1. Salesforce sends notifications for record changes, including create, update, delete, and undelete operations.
2. Doesn’t check sharing rules.
3. Gives access to events for up to three days.
Use the below link to check how MuleSoft can be used to subscribe to CDC events
Subscription Channels
Use the subscription channel that corresponds to the change notifications you want to receive. The channel name is case-sensitive.
All Change Events
/data/ChangeEvents
A Standard Object
/data/<Standard_Object_Name>ChangeEvent
For example, the channel to subscribe to change events for Account records is:
/data/AccountChangeEvent
A Custom Object
/data/<Custom_Object_Name>__ChangeEvent
For example, the channel to subscribe to change events for Employee__c custom object records is:
/data/Employee__ChangeEvent
How to set it up
1. Go to Change Data Capture.
2. Select and add objects from Available to Selected Entities.