Skip to content

Latest commit

 

History

History
61 lines (43 loc) · 2.66 KB

README.md

File metadata and controls

61 lines (43 loc) · 2.66 KB

Redis Extension for Flume NG

Redis extension for Flume NG (http://flume.apache.org). Tested with Apache Flume 1.6.0 and Redis 3.2.8.

Build Status Coverage Status

Current Version

  • Development: 0.4.0-SNAPSHOT
  • Stable: 0.3.0

Current Supported Features

  • 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)

Usage

  1. Build or Download jar.
  2. Copy flume-ng-redis-[VERSION].jar or flume-ng-redis-[VERSION]-jar-with-dependencies.jar into your flume library path.
  3. 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
      

Dependencies

License

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.