Created
January 30, 2018 22:43
-
-
Save tsusanto/f5fb12e737bfdff65635c815bb32dab3 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tier1.sources = filename-source1 | |
tier1.channels = channel1 | |
tier1.sinks = hdfs-sink1 | |
tier1.channels.channel1.type = file | |
tier1.channels.channel1.checkpointDir = /mnt/data/tenny/flume/checkpoint | |
tier1.channels.channel1.dataDirs = /mnt/data/tenny/flume/data | |
tier1.channels.channel1.capacity = 1000000 | |
tier1.channels.channel1.transactionCapacity = 10000 | |
tier1.sources.filename-source1.type = spooldir | |
tier1.sources.filename-source1.channels = channel1 | |
tier1.sources.filename-source1.spoolDir = /mnt/data/tenny/gcp_test | |
tier1.sources.filename-source1.fileHeader = true | |
tier1.sources.filename-source1.fileSuffix = .DONE | |
tier1.sources.filename-source1.basenameHeader = true | |
tier1.sinks.hdfs-sink1.type = hdfs | |
tier1.sinks.hdfs-sink1.hdfs.path = gs://uploadhd01/gcp_test | |
tier1.sinks.hdfs-sink1.brokerList = s1n:9092,s2:9092,s3:9092 | |
tier1.sinks.hdfs-sink1.channel = channel1 | |
tier1.sinks.hdfs-sink1.hdfs.useLocalTimeStamp = true | |
tier1.sinks.hdfs-sink1.hdfs.rollCount = 5000 | |
tier1.sinks.hdfs-sink1.hdfs.rollInterval = 10 | |
tier1.sinks.hdfs-sink1.hdfs.rollSize = 10000000 | |
tier1.sinks.hdfs-sink1.hdfs.fileType = DataStream | |
tier1.sinks.hdfs-sink1.hdfs.writeFormat = Text | |
tier1.sinks.hdfs-sink1.hdfs.filePrefix = %{basename} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment