Skip to content

unruly/flume-spooling-directory-sink

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

flume-spooling-directory-sink

Build Status

An Apache Flume sink that spools to a directory and periodically rotates the temporary files into another directory.

Example config

...
agent.sinks.directoryFileSink.type = com.unrulymedia.flume.SpoolingDirectoryFileSink
agent.sinks.directoryFileSink.channel = someChannel
agent.sinks.directoryFileSink.sink.directory = target/
agent.sinks.directoryFileSink.sink.rollInterval = 5
...

Motivation

The built-in flume SpoolingDirectorySource does not have an inverse sink (as the FileSink does not work in this way) so the SpoolingDirectoryFileSink is an implementation of this.

This enables us to easily create Flume topologies with spooling reliability in-between for resiliency.

Installation

Create a jar with mvn package and include in the flume plugins.d directory.

License

MIT

About

A sink for Apache Flume designed to couple with the existing Spooling Directory Source

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages