本文共 772 字,大约阅读时间需要 2 分钟。
a1.sources = s1a1.channels = c1a1.sinks = k1#tcp协议a1.sources.s1.type = syslogtcpa1.sources.s1.port = 5140a1.sources.s1.host = wangfutaia1.sources.s1.channels = c1#channela1.channels.c1.type = SPILLABLEMEMORYa1.channels.c1.memoryCapacity = 10000a1.channels.c1.overflowCapacity = 1000000a1.channels.c1.byteCapacity = 800000a1.channels.c1.checkpointDir= /home/wangfutai/a/flume/checkpointa1.channels.c1.dataDirs = /home/wangfutai/a/flume/dataa1.sinks.k1.type = hbasea1.sinks.k1.table = hadoop:flume_hbasea1.sinks.k1.columnFamily = f1a1.sinks.k1.serializer= org.apache.flume.sink.hbase.RegexHbaseEventSerializera1.sinks.k1.channel = c1a1.sinks.k1.serializer.regex=^([0-9]+),([a-z]+),([a-z]+)$a1.sinks.k1.serializer.colNames=ROW_KEY,name,sexa1.sinks.k1.serializer.rowKeyIndex=0
转载地址:http://qgjxi.baihongyu.com/