document.write('
Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. # The configuration file needs to define the sources,
  2. # the channels and the sinks.
  3. # Sources, channels and sinks are defined per agent,
  4. # in this case called 'agent'
  5.  
  6. agent.sources = seqGenSrc
  7. agent.channels = memoryChannel
  8. agent.sinks = loggerSink
  9.  
  10. # For each one of the sources, the type is defined
  11. agent.sources.seqGenSrc.type = seq
  12.  
  13. # The channel can be defined as follows.
  14. agent.sources.seqGenSrc.channels = memoryChannel
  15.  
  16. # Each sink's type must be defined
  17. agent.sinks.loggerSink.type = logger
  18.  
  19. #Specify the channel the sink should use
  20. agent.sinks.loggerSink.channel = memoryChannel
  21.  
  22. # Each channel's type is defined.
  23. agent.channels.memoryChannel.type = memory
  24.  
  25. # Other config values specific to each type of channel(sink or source)
  26. # can be defined as well
  27. # In this case, it specifies the capacity of the memory channel
  28. agent.channels.memoryChannel.capacity = 100
');