function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Lily BluntLily Blunt 

Error handling in Streaming API?

Hello. Is there any design recommendation for handling errors when using Streaming API to initiate writes to an external DB?  My use case is - we have an MDM system. Planning to set up a job that listens to a pushTopic in Salesforce, and write to MDM. Suppose due to a mandatory field missing / integration later failure, the write to MDM fails. How can I log the error?  Like in SOAP, here there is no success response right.   Even if there is durable streaming , it will just continue to error out as long as data is incorrect. But there is no tracking of this failure. Any design recommendations?