Redis extension for Flume NG (http://flume.apache.org). Tested with Apache Flume 1.5.0.1 and Redis 2.8.17.
- Development: 0.3.0-SNAPSHOT
- Stable: 0.2.0
- Source using Redis SUBSCRIBE command (multiple channels)
- Sink using Redis PUBLISH command (only for single channel)
- Build or Download jar.
- Checkout and build this repository.
- Stable release (currently version 0.2) is recommended.
- Build this library with
mvn package -DskipTests
command.
- Or download built jar in release page. (https://github.com/chiwanpark/flume-ng-redis/releases)
- Checkout and build this repository.
- Copy
flume-ng-redis-[VERSION].jar
orflume-ng-redis-[VERSION]-jar-with-dependencies.jar
into your flume library path.- If you use
flume-ng-redis-[VERSION].jar
, you have to download Jedis (https://github.com/xetorthio/jedis) and copy it to flume library path.
- If you use
- Copy configuration sample file or create your own configuration.
- Run Flume.
-
Following command is sample for RedisSubscribeDrivenSource.
bin/flume-ng agent -n agent -c conf -f conf/example-SubscribeDrivenSource.properties -Dflume.root.logger=DEBUG,console
-
Following commend is sample for RedisPublishDrivenSink
bin/flume-ng agent -n agent -c conf -f conf/example-PublishDrivenSink.properties
-
- Jedis 2.5.2 (https://github.com/xetorthio/jedis)
Copyright 2013-2015 Chiwan Park
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.