flume-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Otis Gospodnetic <otis.gospodne...@gmail.com>
Subject Re: Dynamic sink configuration
Date Tue, 28 Oct 2014 16:02:02 GMT
As far as I know, Flume is configured only through the config and I *think*
Flume automatically reloads the config when it detects the config changed -
at least that is what Ashish wrote here:
http://search-hadoop.com/m/DEeB4w0kHg1

Otis
--
Monitoring * Alerting * Anomaly Detection * Centralized Log Management
Solr & Elasticsearch Support * http://sematext.com/


On Mon, Oct 27, 2014 at 7:42 PM, Pavel Zalunin <wr4bbit@gmail.com> wrote:

> Hi,
>
> We have embedded flume agent and we need to update some parameters
> dynamically after sink/source runners are started.
>
> For example, having sink which sends events to some url. At some point we
> need to change this url (add request parameter for example).
>
> Straightforward way is to add method which will accept changes and update
> internal state, but it looks like a 'hack', because all flume sinks, that
> I've seen configured just once.
>
> Maybe there are another, 'flume-way' to do such things?
>
> Is restarting sink (I think restart other related things also needed) only
> one option?
>
> Thanks,
> Pavel.
>

Mime
View raw message