You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flume.apache.org by pr...@apache.org on 2012/04/19 20:10:02 UTC
svn commit: r1328060 -
/incubator/flume/trunk/conf/flume-conf.properties.template
Author: prasadm
Date: Thu Apr 19 18:10:02 2012
New Revision: 1328060
URL: http://svn.apache.org/viewvc?rev=1328060&view=rev
Log:
FLUME-1129: change foo to agent in sample config
(Will McQueen via Prasad Mujumdar)
Modified:
incubator/flume/trunk/conf/flume-conf.properties.template
Modified: incubator/flume/trunk/conf/flume-conf.properties.template
URL: http://svn.apache.org/viewvc/incubator/flume/trunk/conf/flume-conf.properties.template?rev=1328060&r1=1328059&r2=1328060&view=diff
==============================================================================
--- incubator/flume/trunk/conf/flume-conf.properties.template (original)
+++ incubator/flume/trunk/conf/flume-conf.properties.template Thu Apr 19 18:10:02 2012
@@ -19,28 +19,28 @@
# 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 foo
+# in this case called 'agent'
-foo.sources = seqGenSrc
-foo.channels = memoryChannel
-foo.sinks = loggerSink
+agent.sources = seqGenSrc
+agent.channels = memoryChannel
+agent.sinks = loggerSink
# For each one of the sources, the type is defined
-foo.sources.seqGenSrc.type = seq
+agent.sources.seqGenSrc.type = seq
# The channel can be defined as follows.
-foo.sources.seqGenSrc.channels = memoryChannel
+agent.sources.seqGenSrc.channels = memoryChannel
# Each sink's type must be defined
-foo.sinks.loggerSink.type = logger
+agent.sinks.loggerSink.type = logger
#Specify the channel the sink should use
-foo.sinks.loggerSink.channel = memoryChannel
+agent.sinks.loggerSink.channel = memoryChannel
# Each channel's type is defined.
-foo.channels.memoryChannel.type = memory
+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
-foo.channels.memoryChannel.capacity = 100
+agent.channels.memoryChannel.capacity = 100