案例:Flume file channel

file channel

需要的参数 type = file

dataDirs = /roort

a1.sources = r1
a1.channels = c1
a1.sinks = k1

a1.sources.r1.type = netcat
a1.sources.r1.bind = localhost
a1.sources.r1.port = 44444

==a1.channels.c1.type = file==
a1.channels.c1.capaciry=10000
a1.channels.c1.transactioncapacity = 100

a1.sinks.k1.type = logger

a1.sources.r1.channels = c1
a1.sinks.k1.channel = c1