Skip to content
a custom plugin for flume to use rabbit-mq as sink
Java Groovy
Find file
Latest commit 84312de Mar 6, 2013 @talsalmona talsalmona Merge pull request #2 from talsalmona/master
Build the flume-rabbitmq-sink using travis-ci
Failed to load latest commit information.
test/com/kenshoo/flume/rabbitmq avoid exceptions on close method Dec 25, 2012
.gitignore remove and ignore project files Nov 21, 2011
.travis.yml Added a travis build configuration Feb 4, 2013
LICENSE-2.0.txt Trigger a first travis build Feb 4, 2013
build.gradle Trigger a first travis build Feb 4, 2013
settings.gradle remove disk task (we have fatjar) Dec 3, 2012

Flume RabbitMQ sink

A custom Flume sink that integrates flume and RabbitMQ.

How it works

The sink sends each Flume event received to a RabbitMQ queue. The queue name is determined by a parameter in the event's metadata map. The RabbitMQ's host, user and password are all configurable as well.


This project uses gradle as its build tool.


  1. Clone the repository.
  2. Run "gradle build" from the project's root dir.
  3. Copy rabbit-sink-{ver}.jar from build/libs directory to the flume master and node classpath dir.
  4. Add com.kenshoo.flume.rabbitmq.RabbitMqSink to flume-site.xml plugins section on the master node.
  5. (Re)start the master node and verify that RabbitSink is part of the plugins list.
  6. On the collector-sink's configuration, add rabbitsink('host','user','pass').


This code is released under the Apache Public License 2.0.

Something went wrong with that request. Please try again.