Advertisement
Guest User

Untitled

a guest
Feb 16th, 2020
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.79 KB | None | 0 0
  1. agent1.sources = source1 source2
  2. agent1.sinks = sink1
  3. agent1.channels = channel1
  4.  
  5. agent1.sources.source1.channels = channel1
  6. agent1.sources.source2.channels = channel1
  7. agent1.sinks.sink1.channel = channel1
  8. agent1.sources.source1.type = spooldir
  9. agent1.sources.source1.spoolDir = /tmp/slooldir/bb
  10. agent1.sources.source12.type = spooldir
  11. agent1.sources.source2.spoolDir = /tmp/spooldir/dr
  12. agent1.sinks.sink1.type = hdfs
  13. agent1.sinks.sink1.hdfs.path = /tmp/flume/finance
  14. agent1.sinks.sink1.hdfs.filePrefix = events
  15. agent1.sinks.sink1.hdfs.fileSuffix = .log
  16. agent1.sinks.sink1.hdfs.inUsePrefix = _
  17. agent1.sinks.sink1.hdfs.fileType = Data Stream
  18.  
  19. agent1.channels.channel1.type = file
  20.  
  21. flume-ng agent -conf /home/cloudera/flumeconf -conf-file /home/cloudera/flumeconf/flume7.conf --name agent1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement