How can I stop benthos when errror occurs? #2425
-
Hi, Can I stop benthos when errors occurs when processing messages (pipelines stage)? For the input I found |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
Hey @artemklevtsov, unfortunately we don't really have mechanisms for this in benthos as it's a stream processor and stopping the service for any reason is typically an absolute last resort. I'm assuming you're using benthos as more of a batch processor in this case but we can't really offer anything out of the box, you could potentially write a simple processor plugin that calls |
Beta Was this translation helpful? Give feedback.
-
I want to stop process stream when schema suddenly changed and fix it. |
Beta Was this translation helpful? Give feedback.
-
Resolved by |
Beta Was this translation helpful? Give feedback.
Resolved by
crash
processor.