flume-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ashish <paliwalash...@gmail.com>
Subject Re: flume configuration in zookeeper
Date Fri, 27 Feb 2015 03:50:11 GMT
you need to push/upload your config file to Zk. You can use simple Zk
client for this.

I wrote a simple utility while I was working on the patch and you can
find it here https://github.com/paliwalashish/flume-cookbook/blob/master/src/main/java/com/ashishpaliwal/flume/ZookeeperUploader.java

Alternatively you can look into the test cases, we push the config to
Zk in embedded mode.

Upload config to something like /flume/agent-name path and you should be set.

Can you please raise a JIRA for the doc changes? Please check if a
JIRA already exists for this, documentation doesn't have the

Please do share feedback on how it works for you.

On Thu, Feb 26, 2015 at 10:11 PM, Simeon Zaharici
<simeon_zaharici@yahoo.com> wrote:
> Hi guys,
> Do you have an example of how to use the dynamic configuration with
> zookeeper
> https://issues.apache.org/jira/browse/FLUME-1491?
> I started flume with the -z flag pointing to a zookeeper instance and I see
> that it created a flume
> znode but I am not sure how to actually put the configuration in zookeeper.
> Thanks,
> Simeon


Blog: http://www.ashishpaliwal.com/blog
My Photo Galleries: http://www.pbase.com/ashishpaliwal

View raw message