Redis extension for Flume NG (http://flume.apache.org). Tested with Apache Flume 1.6.0 and Redis 3.2.8.
- Development: 0.4.0-SNAPSHOT
- Stable: 0.3.0
- Source using Redis SUBSCRIBE command (multiple channels)
- Source using Redis RPOP command (single list)
- Sink using Redis PUBLISH command (only for single channel)
- Sink using Redis LPUSH command (single list)
- 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](http configuration.
- If you use
- Run Flume.
-
Follos://github.com/xetorthio/jedis)) and copy it to flume library path. 1. Copy configuration sample file or create your ownwing 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
-
Copyright 2013-2017 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.