flume中各类channel分析对比
1. 介绍
本文主要参考flume官方文档
根据官方文档,我们主要讨论以下几类channel
memory channel
jdbc channel
kafka channel
file channel
spillable memory channel
pseudo transaction channel
custom channel
2. memory channel
把event放到内存队列当中。使用这种channel会再agent挂掉的时候导致数据丢失。
优点:速度最快的channel、容易配置
缺点:agent挂了会丢数据
3. jd......