spooldir_r.conf(文件夹)
a1.sources = r1a1.channels = c1a1.sinks = k1a1.sources.r1.type=spooldira1.sources.r1.spoolDir=/home/centos/spoola1.sources.r1.fileHeader=truea1.sinks.k1.type=loggera1.channels.c1.type=memorya1.sources.r1.channels=c1a1.sinks.k1.channel=c1
avro_hop.conf
#a1a1.sources = r1a1.sinks= k1a1.channels = c1a1.sources.r1.type=netcata1.sources.r1.bind=localhosta1.sources.r1.port=8888a1.sinks.k1.type = avroa1.sinks.k1.hostname=localhosta1.sinks.k1.port=9999a1.channels.c1.type=memorya1.sources.r1.channels = c1a1.sinks.k1.channel = c1#a2a2.sources = r2a2.sinks= k2a2.channels = c2a2.sources.r2.type=avroa2.sources.r2.bind=localhosta2.sources.r2.port=9999a2.sinks.k2.type = loggera2.channels.c2.type=memorya2.sources.r2.channels = c2a2.sinks.k2.channel = c2
exec_r.conf
a1.sources = r1a1.sinks = k1a1.channels = c1a1.sources.r1.type=execa1.sources.r1.command=tail -F /home/centos/test.txta1.sinks.k1.type=loggera1.channels.c1.type=memorya1.sources.r1.channels=c1a1.sinks.k1.channel=c1
file_c.conf
a1.sources = r1a1.sinks= k1a1.channels = c1a1.sources.r1.type=netcata1.sources.r1.bind=localhosta1.sources.r1.port=8888a1.sinks.k1.type=loggera1.channels.c1.type = filea1.channels.c1.checkpointDir = /home/centos/flume/fc_checka1.channels.c1.dataDirs = /home/centos/flume/fc_dataa1.sources.r1.channels=c1a1.sinks.k1.channel=c1
hbase_k.conf
hbase_k.confa1.sources = r1a1.channels = c1a1.sinks = k1a1.sources.r1.type = netcata1.sources.r1.bind = localhosta1.sources.r1.port = 8888a1.sinks.k1.type = hbasea1.sinks.k1.table = ns1:t12a1.sinks.k1.columnFamily = f1a1.sinks.k1.serializer = org.apache.flume.sink.hbase.RegexHbaseEventSerializera1.channels.c1.type=memorya1.sources.r1.channels = c1a1.sinks.k1.channel = c1
hdfs_k.conf
hdfs_k.confa1.sources = r1a1.channels = c1a1.sinks = k1a1.sources.r1.type = netcata1.sources.r1.bind = localhosta1.sources.r1.port = 8888a1.sinks.k1.type = hdfsa1.sinks.k1.hdfs.path = /user/centos/flume/%y/%m/%d/%H/%M/%Sa1.sinks.k1.hdfs.filePrefix = events-a1.sinks.k1.hdfs.round = truea1.sinks.k1.hdfs.roundValue = 20a1.sinks.k1.hdfs.roundUnit = seconda1.sinks.k1.hdfs.useLocalTimeStamp=truea1.sinks.k1.hdfs.rollInterval=10a1.sinks.k1.hdfs.rollSize=10a1.sinks.k1.hdfs.rollCount=3a1.channels.c1.type=memorya1.sources.r1.channels = c1a1.sinks.k1.channel = c1
helloworld.conf
# Licensed to the Apache Software Foundation (ASF) under one# or more contributor license agreements. See the NOTICE file# distributed with this work for additional information# regarding copyright ownership. The ASF licenses this file# to you under the Apache License, Version 2.0 (the# "License"); you may not use this file except in compliance# with the License. You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing,# software distributed under the License is distributed on an# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY# KIND, either express or implied. See the License for the# specific language governing permissions and limitations# under the License.# The configuration file needs to define the sources, # the channels and the sinks.# Sources, channels and sinks are defined per agent, # in this case called 'agent'a1.sources = r1a1.channels = c1a1.sinks = k1a1.sources.r1.type=netcata1.sources.r1.bind=localhosta1.sources.r1.port=8888a1.sinks.k1.type=loggera1.channels.c1.type=memorya1.sources.r1.channels=c1a1.sinks.k1.channel=c1
kafka_c.conf
a1.sources = r1a1.sinks = k1a1.channels = c1a1.sources.r1.type = avroa1.sources.r1.bind = localhosta1.sources.r1.port = 8888a1.sinks.k1.type = loggera1.channels.c1.type = org.apache.flume.channel.kafka.KafkaChannela1.channels.c1.kafka.bootstrap.servers = s202:9092a1.channels.c1.kafka.topic = test3a1.channels.c1.kafka.consumer.group.id = g6a1.channels.c1.kafka.parseAsFlumeEvent = falsea1.channels.c1.zookeeperConnect= s202:2181a1.sources.r1.channels = c1a1.sinks.k1.channel = c1
kafka_k.conf
a1.sources = r1a1.sinks = k1a1.channels = c1a1.sources.r1.type=netcata1.sources.r1.bind=localhosta1.sources.r1.port=8888a1.sinks.k1.type = org.apache.flume.sink.kafka.KafkaSinka1.sinks.k1.kafka.topic = test3a1.sinks.k1.kafka.bootstrap.servers = s202:9092a1.sinks.k1.kafka.flumeBatchSize = 20a1.sinks.k1.kafka.producer.acks = 1a1.channels.c1.type=memorya1.sources.r1.channels = c1a1.sinks.k1.channel = c1
kafka_r.conf
a1.sources = r1a1.sinks = k1a1.channels = c1a1.sources.r1.type = org.apache.flume.source.kafka.KafkaSourcea1.sources.r1.batchSize = 5000a1.sources.r1.batchDurationMillis = 2000a1.sources.r1.kafka.bootstrap.servers = s202:9092a1.sources.r1.kafka.topics = test3a1.sources.r1.kafka.consumer.group.id = g4a1.sinks.k1.type = loggera1.channels.c1.type=memorya1.sources.r1.channels = c1a1.sinks.k1.channel = c1
seq_r.conf
a1.sources = r1a1.channels = c1a1.sinks = k1a1.sources.r1.type=seqa1.sources.r1.totalEvents=1000a1.sinks.k1.type=loggera1.channels.c1.type=memorya1.sources.r1.channels=c1a1.sinks.k1.channel=c1
spillable_c.conf
a1.sources = r1a1.sinks= k1a1.channels = c1a1.sources.r1.type=netcata1.sources.r1.bind=localhosta1.sources.r1.port=8888a1.sinks.k1.type=loggera1.channels.c1.type = SPILLABLEMEMORYa1.channels.c1.memoryCapacity = 0a1.channels.c1.overflowCapacity = 2000a1.channels.c1.byteCapacity = 800000a1.channels.c1.checkpointDir = /user/centos/flume/fc_checka1.channels.c1.dataDirs = /user/centos/flume/fc_dataa1.sources.r1.channels=c1a1.sinks.k1.channel=c1