Skip to content
This repository was archived by the owner on Jan 9, 2020. It is now read-only.

keedio/FakeEventGenerator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

FakeEventGenerator

Generate fake events in terms of Apache Flume with payload and headers for testing porposes. Package FakeEventGenerator generates two different events, a dummy event with a header with <key,value> that will be enriched via a second package with a custom interceptor called FeederInterceptor.

FeederInterceptor

The initial event (poor event in terms of informational data in headers) will be added an second key and a total of 'n' fields in the value of the map. Header of the poor event is passed through feederIntercept returning an enriched event with new header maintaining previous header:

example:

previous header <(key),(value)> ---> feederInterceptor ----> new header <(key,key2),(value,field0,field1,field2)>

AdderInterceptor

This interceptor adds a second pair of <(key), (value)> to the initial event's header.

example:

previous header <(key0),(value)> ----> adderInterceptor ----> new header

[ <(key0),(value)>, <(host),(field0,field1,field2,...)>]

About

Generate fake events in terms of Apache Flume with payload and headers for testing porposes.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages