不多说,直接上干货!

Flume Sources官网剖析(博主推荐)

Flume Channels官网剖析(博主推荐)

Flume Channel Selectors官网剖析(博主推荐)

Flume Sinks官网剖析(博主推荐)

一切来源于flume官网

http://flume.apache.org/FlumeUserGuide.html

Flume Sink Processors官网剖析(博主推荐)-LMLPHP

Flume Sink Processors

Default Sink Processor

Flume Sink Processors官网剖析(博主推荐)-LMLPHP

Failover Sink Processor

Flume Sink Processors官网剖析(博主推荐)-LMLPHP

Load balancing Sink Processor

Flume Sink Processors官网剖析(博主推荐)-LMLPHP

官网提供给我们的参考案例是

a1.sinkgroups = g1
a1.sinkgroups.g1.sinks = k1 k2
a1.sinkgroups.g1.processor.type = load_balance
a1.sinkgroups.g1.processor.backoff = true
a1.sinkgroups.g1.processor.selector = random

我们一般是

a1.sinkgroups = g1

a1.sinkgroups.g1.sinks = k1 k2
a1.sinkgroups.g1.processor.type = load_balance
a1.sinkgroups.g1.processor.selector = round_robin

Custom Sink Processor

Flume Sink Processors官网剖析(博主推荐)-LMLPHP

大家自己去看,罗列出来,是让大家,不要局限于博客本身,眼光要放宽和多看官网,一切来源于官网。

对于大数据无论是各种开源项目,看官网是学习的最好办法,再加上他人的中文博客。不要觉得英文恐惧,专业英语也就那样!变成高手和大牛,加油吧,zhouls!

05-18 08:53