a1.sources = s1 a1.sinks = k1 a1.channels = c1 a1.sources.s1.channels = c1 a1.sinks.k1.channel = k1 a1.sources.s1.type = exec a1.sources.s1.command = tail -F /home/yu/access.log a1.sinks.k1.type = org.apache.flume.sink.kafka.KafkaSink a1.sinks.k1.topic = act-log a1.sinks.k1.kafka.bootstrap.servers = master:2181,slave1:2181,slave2:2181 a1.sinks.k1.kafka.flumeBatchSize = 20 a1.sinks.k1.kafka.produce.ack = 1 a1.sinks.k1.kafka.produce.linger.ms = 1 a1.sinks.k1.kafka.produce.compression.type = snapp a1.channels.c1.type = memory a1.channels.c1.capacity = 1000 a1.channels.c1.transcationCapacity = 100
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)