Salesforce Platform Event

Parameter

Value

object

the salesforce object name auth

authUrl

the url that issues the token, e.g. https://test.salesforce.com/services/oauth2/token

clientId

the encrypted client id for the connected app

clientSecret

the encrypted client secret for the connected app

username

the encrypted salesforce user account

password

the encrypted salesforce user account password

autoOffsetReset

Earliest, Latest or None

topic

Add the Topic

connectionAttributes

Add Connection Attributes

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="http://www.cinchy.co">
	<SalesforcePlatformEventDataSource type="Event">
		<Schema>
			<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" />
		</Schema>
	</SalesforcePlatformEventDataSource>
	<CinchyTableTarget model="" domain="Events" table="SF Platform Event">
		<ColumnMappings>
			<ColumnMapping sourceColumn="Id__c" targetColumn="Id" />
			<ColumnMapping sourceColumn="TestField__c" targetColumn="TestField" />
			<ColumnMapping sourceColumn="Message__c" targetColumn="Message" />
		</ColumnMappings>
		<SyncKey>
		  <SyncKeyColumnReference name="Id" />
		</SyncKey>
		<NewRecordBehaviour     type="INSERT" />
		<ChangedRecordBehaviour type="UPDATE" />
		<DroppedRecordBehaviour type="DELETE" />
	</CinchyTableTarget>
</BatchDataSyncConfig>

Last updated