-
Notifications
You must be signed in to change notification settings - Fork 905
Open
redpanda-data/benthos
#267Labels
enhancementprocessorsAny tasks or issues relating specifically to processorsAny tasks or issues relating specifically to processors
Description
Hi.
About the crash processor that was introduced in v4.47.0:
https://github.com/redpanda-data/connect/releases/tag/v4.47.0
Based on the current implementation, the exit code is always 1:
https://github.com/redpanda-data/benthos/blob/4cd5b09eff3eb816003c69323bbc54942883a1a3/internal/impl/pure/processor_crash.go
It would be nice to be able to specify the exit code as a field of this processor, similar to how you can do it with Go's standard library using os.Exit(code).
Also, consider adding some examples of the crash processor to the error handling documentation here:
https://docs.redpanda.com/redpanda-connect/configuration/error_handling/
Metadata
Metadata
Assignees
Labels
enhancementprocessorsAny tasks or issues relating specifically to processorsAny tasks or issues relating specifically to processors