Platform Event throws RetryableException and then SFDC stops the trigger from consuming events for hours

@cropredy The engineering team has identified the issue -- the message passed in to RetryableException is too long (more than 255 characters) and that caused an error when we were persisting the state to the DB. Because the state wasn't persisted correctly, the Trigger subscription became idled until the server was restarted (causing the subscription to be re-initiated). We have a bug on our end which needs to handle truncating the message to < 255 characters, and we will be fixing that. In the mean-time, can you can manually truncate the error message in your code which should resolve this issue.


https://twitter.com/_johnbrock/status/1047236441548279808

Thanks Daniel -- I am aware of the issue and tracking the case internally. We are escalating to our engineering team to take a look.

  • John Brock (Salesforce PM)

Sounds like they are on to it.