# The configuration file needs to define the sources,
# the channels and the sinks.
# Sources, channels and sinks are defined per agent,
# in this case called 'agent'
exec-agent.sources = intervalPrinting
exec-agent.channels = memoryChannel
exec-agent.sinks = loggerSink
# For each one of the sources, the type is defined
exec-agent.sources.intervalPrinting.type = exec
exec-agent.sources.intervalPrinting.command = /home/ubuntu/testExec/intervalPrinting
# The channel can be defined as follows.
exec-agent.sources.intervalPrinting.channels = memoryChannel
# Each sink's type must be defined
exec-agent.sinks.loggerSink.type = logger
#Specify the channel the sink should use
exec-agent.sinks.loggerSink.channel = memoryChannel
# Each channel's type is defined.
exec-agent.channels.memoryChannel.type = memory
# Other config values specific to each type of channel(sink or source)
# can be defined as well
# In this case, it specifies the capacity of the memory channel
exec-agent.channels.memoryChannel.capacity = 100