Platform Event

Topic JSON

For the topic JSON, you simply need to provide the name of the platform event you wish to subscribe to.

Sample Topic JSON

{ "Name": "Notification__e"}

Data Sync Configuration

Use SalesforcePlatformEventDataSource as the source for platform events.
The Id column is mandatory in the source.

Sample Data Sync Config

<?xml version="1.0" encoding="utf-16" ?>
<BatchDataSyncConfig name="Platform Events" version="1.0.0" xmlns="">
<SalesforcePlatformEventDataSource type="Event">
<Column ordinal="1" name="Id__c" dataType="Text" maxLength="100" />
<Column ordinal="2" name="TestField__c" dataType="Text" maxLength="100" />
<Column ordinal="3" name="Message__c" dataType="Text" maxLength="100" />
<CinchyTableTarget model="" domain="Events" table="SF Platform Event">
<ColumnMapping sourceColumn="Id__c" targetColumn="Id" />
<ColumnMapping sourceColumn="TestField__c" targetColumn="TestField" />
<ColumnMapping sourceColumn="Message__c" targetColumn="Message" />
<SyncKeyColumnReference name="Id" />
<NewRecordBehaviour type="INSERT" />
<ChangedRecordBehaviour type="UPDATE" />
<DroppedRecordBehaviour type="DELETE" />