https://github.com/kenshoo/flume-rabbitmq-sink
a custom plugin for flume to use rabbit-mq as sink
https://github.com/kenshoo/flume-rabbitmq-sink
managedby-tec-dev public-repo
Last synced: about 1 month ago
JSON representation
a custom plugin for flume to use rabbit-mq as sink
- Host: GitHub
- URL: https://github.com/kenshoo/flume-rabbitmq-sink
- Owner: kenshoo
- Created: 2011-11-21T17:32:01.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2018-08-14T10:44:49.000Z (almost 7 years ago)
- Last Synced: 2025-04-02T04:03:37.616Z (about 2 months ago)
- Topics: managedby-tec-dev, public-repo
- Language: Java
- Homepage:
- Size: 31.3 KB
- Stars: 18
- Watchers: 48
- Forks: 9
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE-2.0.txt
Awesome Lists containing this project
README
# Flume RabbitMQ sink
A custom [Flume](https://github.com/cloudera/flume) sink that integrates flume and [RabbitMQ](http://www.rabbitmq.com/).## 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.## Usage
This project uses [gradle](http://www.gradle.org/) as its build tool.Steps:
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').## License
This code is released under the Apache Public License 2.0.