Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- master.sources = source1
- master.sinks = sink1
- master.channels = channel1
- master.sources.source1.type = netcat
- # master.sources.source1.type = avro
- master.sources.source1.bind = 0.0.0.0
- master.sources.source1.port = 4555
- master.sources.source1.interceptors = inter1
- master.sources.source1.interceptors.inter1.type = timestamp
- master.sinks.sink1.type = hdfs
- master.sinks.sink1.hdfs.path = s3://KEY:SECRET@BUCKET/flume/events/%y-%m-%d/%H%M
- master.sinks.sink1.hdfs.filePrefix = event
- master.sinks.sink1.hdfs.round = true
- master.sinks.sink1.hdfs.roundValue = 5
- master.sinks.sink1.hdfs.roundUnit = minute
- master.channels.channel1.type = memory
- master.channels.channel1.capacity = 1000
- master.channels.channel1.transactionCapactiy = 100
- master.sources.source1.channels = channel1
- master.sinks.sink1.channel = channel1
Add Comment
Please, Sign In to add comment