[ 
https://issues.apache.org/jira/browse/FLUME-984?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13229369#comment-13229369
 ] 

Brock Noland commented on FLUME-984:
------------------------------------

Longterm I wonder if we should a service fail N times we close and it restart. 
I don't feel we have the items in place today to do this. The SinkRunner could 
instead of being passed a sink, be passed a Supplier<Sink> for example.
                
> SinkRunner should catch unhanded exceptions and log them like 
> PollingSourceRunner
> ---------------------------------------------------------------------------------
>
>                 Key: FLUME-984
>                 URL: https://issues.apache.org/jira/browse/FLUME-984
>             Project: Flume
>          Issue Type: Improvement
>          Components: Sinks+Sources
>    Affects Versions: v1.0.0
>            Reporter: Brock Noland
>            Assignee: Brock Noland
>             Fix For: v1.1.0
>
>         Attachments: FLUME-984-0.patch, FLUME-984-1.patch, FLUME-984-2.patch, 
> FLUME-984-4.patch
>
>
> If a Sink throws any exception but EventDeliveryException the sink will die. 
> We should catch the exception, perhaps backoff a bit, and retry like 
> PollingSourceRunner.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to