Guest User

Untitled

a guest
Jan 20th, 2019
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.80 KB | None | 0 0
  1. master.sources = source1
  2. master.sinks = sink1
  3. master.channels = channel1
  4.  
  5. master.sources.source1.type = netcat
  6. # master.sources.source1.type = avro
  7. master.sources.source1.bind = 0.0.0.0
  8. master.sources.source1.port = 4555
  9.  
  10. master.sources.source1.interceptors = inter1
  11. master.sources.source1.interceptors.inter1.type = timestamp
  12.  
  13. master.sinks.sink1.type = hdfs
  14. master.sinks.sink1.hdfs.path = s3://KEY:SECRET@BUCKET/flume/events/%y-%m-%d/%H%M
  15. master.sinks.sink1.hdfs.filePrefix = event
  16. master.sinks.sink1.hdfs.round = true
  17. master.sinks.sink1.hdfs.roundValue = 5
  18. master.sinks.sink1.hdfs.roundUnit = minute
  19.  
  20. master.channels.channel1.type = memory
  21. master.channels.channel1.capacity = 1000
  22. master.channels.channel1.transactionCapactiy = 100
  23.  
  24. master.sources.source1.channels = channel1
  25. master.sinks.sink1.channel = channel1
Add Comment
Please, Sign In to add comment