Skip to content

Add error handling sinks#26

Open
Adirio wants to merge 1 commit into
docker:mainfrom
Adirio:error-handler-sinks
Open

Add error handling sinks#26
Adirio wants to merge 1 commit into
docker:mainfrom
Adirio:error-handler-sinks

Conversation

@Adirio
Copy link
Copy Markdown

@Adirio Adirio commented May 3, 2018

Add error handling sinks that allow to react to further sinks errors by either droping the errors or closing the sink.

They are useful to combine with other sinks such as the one provided in #27 to close the event pipeline once a ErrSinkTimeout occurs.

Tests have not been provided as they are really simple sinks.

…by either droping the errors or closing the sink.

Signed-off-by: Adrián Orive <aorive@ikerlan.es>
@Adirio Adirio mentioned this pull request May 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants