I currently look for a way to perform a typical try catch operation on a pipeline step.
In my case on JDBC producer to detect a specific error (e.g. duplicate record, or record does not exists)
and based on that to perform a retry by changing the sdc.operation.type.
Below a picture to explain that use case.
The reason for that is that it seems that no MERGE or often as well named UPSERT is supported by streamsets as it looks. As well i wanted to avoid to check for any record if record exists as that is costing time and resources. (as described here: How to upsert into JDBC Destination? | StreamSets Community)

Any hints welcome how to do just a simple try catch.