Permalink
Browse files

FLUME-1129: change foo to agent in sample config

(Will McQueen via Prasad Mujumdar)

git-svn-id: https://svn.apache.org/repos/asf/incubator/flume/trunk@1328060 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information...
1 parent 1b15ba8 commit be625be7fa576b4a8abaa230a82824675a9d6fea @pmujumdar pmujumdar committed Apr 19, 2012
Showing with 10 additions and 10 deletions.
  1. +10 −10 conf/flume-conf.properties.template
@@ -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

0 comments on commit be625be

Please sign in to comment.