Step 1: Define a Platform Event
Step 2: Build the Client
Step 3: Configure Client Parameters
Step 4: Publish and Subscribe to Platform Events
Step 5: Subscribe to Change Events
Code Examples
Create a custom platform event named Order Event. The steps in this quick start use this platform event.
Platform Events, and then select Platform Events.Example event for the Pub/Sub API client.Order Number (API name: Order_Number__c), field type: Text(18)City (API name: City__c), field type: Text(50)Amount (API name: Amount__c), field type: Number(16,2)