Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add error handling sinks #26

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

Adirio
Copy link

@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 <[email protected]>
@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