flume-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hari Shreedharan" <hshreedha...@cloudera.com>
Subject Re: Failover sink groups
Date Tue, 30 Sep 2014 19:06:07 GMT
It should - if a failover has not happened, the higher priority one should be used.

If you do write a sink selector, consider contributing it back to the project so it can be
used by others too (basically a sink selector that returns hosts in the order specified in
the config - you can write an order selector which can be used for both host selector for
use with RPC client and sink selector for use with Sinks)


On Tue, Sep 30, 2014 at 12:02 PM, Mohit Durgapal <durgapalmohit@gmail.com>

> No, no failover happened. This behavior is without any failover. I'll try
> using load balancer sink with custom sink selector but shouldn't failover
> sink group handle this automatically?
> On Wednesday, October 1, 2014, Hari Shreedharan <hshreedharan@cloudera.com>
> wrote:
>> Did a failover happen? Once a failover happens, the only way to go back to
>> the higher priority one is to have the lower priority one fail. I’d
>> recommend using the LoadBalancing Sink group. Write custom sink selector to
>> ensure that the same order is always returned - so your higher priority
>> sink is always tried first.
>> Thanks,
>> Hari
>> On Tue, Sep 30, 2014 at 11:53 AM, Mohit Durgapal <durgapalmohit@gmail.com
>> <javascript:_e(%7B%7D,'cvml','durgapalmohit@gmail.com');>> wrote:
>>> Has anyone been able to use flume failover functionality successfully? I
>>> tried using it but it sends events to all the sinks(including the low
>>> priority ones) in the sink group even when the primary sink(the high
>>> priority one) is alive and running.
>>> Any help would be great.
>>> Regards
>>> Mohit
View raw message