Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Flume agent - can I specify compression like gzip or bz2?

Is it possible to specify a compression option on a Flume agent so that the data is transferred to the collector in a compressed format? I know there are compression options on the collector level, but it would be also extremely useful to be able to transfer compressed data from the agent, too.

Thank you!

like image 288
Aleksei T Avatar asked Nov 06 '22 02:11

Aleksei T


1 Answers

Flume has the gzip and gunzip sink decorators that you can use. Put the gzip decorator on your agent sink and the gunzip decorator on your collector sink, and transferring compressed data between the agent and collector should Just Work.

like image 128
CanSpice Avatar answered Nov 09 '22 07:11

CanSpice