cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Error pipelines

pvsharish9
New Contributor

Hello,

I am looking some tips and looking for sample error pipelines. Thank you in advance.

//Harish

3 REPLIES 3

dmiller
Admin Admin
Admin

We do have a couple pipeline patterns for error pipelines documented here that you can start with:

You can either download them from the Community or search for them in the Cloud Pattern Catalog on the Patterns tab within the product.

There is also a blog posted by our partner IWConnect (formerly Interworks) Error Handling in SnapLogic - InterWorks


Diane Miller
Community Manager

ForbinCSD
Contributor

Harish:

Iโ€™ll post some tips here that weโ€™ve learned on our own, before I read Diane Millerโ€™s links. (Dianeโ€™s suggestions are usually more robust and more helpful than my own, so where the two sets of tips may conflict, do what she suggests!)

  1. First and foremost, error pipelines must never be able to produce an error themselves. Make them bulletproof.
  2. Consider making the error pipeline log an error somewhere. A REST call to another system is best: that way your log is immune to local crashes. Other good options are to a local lightweight RDBMS table, a remote DB, or using a library that implements rotating text files.
  3. General error handlers are better for doing error reporting. You can also build specific error handlers for situations where it may be possible to recover from an error. (These are not the global โ€œexception catcherโ€ type you attach to the overall pipeline. These are the ones you attach to the โ€œerror periscopeโ€ outputs.)
  4. Have two variants of your general error handler: one that logs the error, then halts everything and throws a big red error on the SnapLogic dashboard, and one that silently eats the error but logs it. Some situations call for one; some for the other.

Hope this helps!

All good ideas @ForbinCSD ๐Ÿ˜


Diane Miller
Community Manager