streamers

Streamers are an abstraction on reading and writing different formats that can be used by various adapters within flume. Not all adapters have a need for using streamers but for those that do it because quite easy to support various different formats.

builtin

write your own

All streamers extend from the flume.adapters.streamres.base.Streamer class and implement the following methods:

Once you've written your streamer you have to register it with flume using the function register_streamer(name, streamer) where the name is a unique string identifying your adapter such as elastic, http, influxdb, etc. and the streamer is the class implementation of your streamer.