Thank you very much Ashish, it is working fine after uploading the contents of flume.conf into zookeeper as /flume/agent ( this is the name I used in the configuration )
On Thursday, February 26, 2015 10:50 PM, Ashish <paliwalash...@gmail.com> wrote: 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 information. Please do share feedback on how it works for you. On Thu, Feb 26, 2015 at 10:11 PM, Simeon Zaharici <simeon_zahar...@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 > -- thanks ashish Blog: http://www.ashishpaliwal.com/blog My Photo Galleries: http://www.pbase.com/ashishpaliwal