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

Hari Shreedharan commented on FLUME-962:
----------------------------------------

Arvind, Thanks. That is what I was planning to do. Take a list from the client 
and just try to send data over the first one. If it fails, move on to the next. 
Say agent n fails, then start searching from agent 1 to find if one will 
connect. Maybe we can check if we tried to connect to that host in the last k 
seconds(maybe the user can provide this?), before we try to connect to that 
host again?:

A) Take a list of nodes from the user, connect to node[0], if it fails, to 
node[1] etc. Basically if any node fails, start from node[0] and check if we 
can connect to any node, provided we did not try to connect, and fail in the 
last k seconds.
                
> Failover capability for Client SDK
> ----------------------------------
>
>                 Key: FLUME-962
>                 URL: https://issues.apache.org/jira/browse/FLUME-962
>             Project: Flume
>          Issue Type: Sub-task
>    Affects Versions: v1.0.0
>            Reporter: Kathleen Ting
>             Fix For: v1.2.0
>
>
> Need a client SDK for Flume that will allow clients to be able to failover 
> from one source to another in case the first agent is not available. This 
> will help in keeping client implementations developed outside of the project 
> decoupled from internal details of HA implementation within Flume.

--
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