stampy88 / flume-amqp-plugin Goto Github PK
View Code? Open in Web Editor NEWA plugin for Flume that allows you to use an AMQP broker as a source.
A plugin for Flume that allows you to use an AMQP broker as a source.
Hello,
I am interested in using the AMQP source :)
However, It is hard for me to understand where I should add the configuration:
amqp("exchangeName=exchangeName",
"[,host=host] "
"[,port=port] "
"[,virtualHost=virtualHost] "
"[,userName=user] "
"[,password=password] "
"[,exchangeType=direct] "
"[,durableExchange=false] "
"[,queueName=queueName] "
"[,durableQueue=false] "
"[,exclusiveQueue=false] "
"[,autoDeleteQueue=false] "
"[,bindings=binding1,binding2,bindingN]
"[,useMessageTimestamp=false])"
Is it in flume conf?
Thank you!
I checked out and built a copy of Flume:
$ git clone git://github.com/cloudera/flume.git
$ cd flume
$ ant
and checked out a copy of the plugin into the plugins dir
$ cd flume/plugins
$ git clone git://github.com/stampy88/flume-amqp-plugin.git
Building it with ant, I get the following errors:
[javac] /Users/mattb/Dev/java/src/flume/plugins/flume-amqp-plugin/build.xml:47: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
[javac] Compiling 3 source files to /Users/mattb/Dev/java/src/flume/plugins/flume-amqp-plugin/build/classes
[javac] /Users/mattb/Dev/java/src/flume/plugins/flume-amqp-plugin/src/main/java/amqp/AmqpEventSource.java:23: cannot find symbol
[javac] symbol : class CommandLineParser
[javac] location: package com.cloudera.flume.util
[javac] import com.cloudera.flume.util.CommandLineParser;
[javac] ^
[javac] /Users/mattb/Dev/java/src/flume/plugins/flume-amqp-plugin/src/main/java/amqp/AmqpEventSource.java:103: <anonymous amqp.AmqpEventSource$1> is not abstract and does not override abstract method build(com.cloudera.flume.conf.Context,java.lang.String...) in com.cloudera.flume.conf.SourceFactory.SourceBuilder
[javac] return new SourceFactory.SourceBuilder() {
[javac] ^
[javac] /Users/mattb/Dev/java/src/flume/plugins/flume-amqp-plugin/src/main/java/amqp/AmqpEventSource.java:123: cannot find symbol
[javac] symbol: class CommandLineParser
[javac] CommandLineParser parser = new CommandLineParser(args);
[javac] ^
[javac] /Users/mattb/Dev/java/src/flume/plugins/flume-amqp-plugin/src/main/java/amqp/AmqpEventSource.java:123: cannot find symbol
[javac] symbol: class CommandLineParser
[javac] CommandLineParser parser = new CommandLineParser(args);
[javac] ^
[javac] Note: /Users/mattb/Dev/java/src/flume/plugins/flume-amqp-plugin/src/main/java/amqp/AmqpEventSource.java uses or overrides a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] 4 errors
The plugin seems to depend on a CommandLineParser that is (no longer?) present in the Flume source.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.