How to track Successful and Failure Salesforce Platform Events?

EventBus.EventPublishSuccessCallback and EventBus.EventPublishFailureCallback interfaces can be used in an Apex Class to track Successful and Failure Salesforce Platform Events. Sample Apex Class: In my example, I am creating records for all the Platform Events Success and Failure events in a Custom Object for tracking purpose. When we publish the Platform Events using EventBus.publish() method, we … Continue reading How to track Successful and Failure Salesforce Platform Events?