You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flume.apache.org by mp...@apache.org on 2013/06/23 11:07:15 UTC

git commit: FLUME-1621. Document new MemoryChannel parameters in Flume User Guide.

Updated Branches:
  refs/heads/trunk 1e2261ce0 -> 4c9e85ab5


FLUME-1621. Document new MemoryChannel parameters in Flume User Guide.

(Israel Ekpo via Mike Percy)


Project: http://git-wip-us.apache.org/repos/asf/flume/repo
Commit: http://git-wip-us.apache.org/repos/asf/flume/commit/4c9e85ab
Tree: http://git-wip-us.apache.org/repos/asf/flume/tree/4c9e85ab
Diff: http://git-wip-us.apache.org/repos/asf/flume/diff/4c9e85ab

Branch: refs/heads/trunk
Commit: 4c9e85ab5582f50e2faba9ab1f01d60395c5fc90
Parents: 1e2261c
Author: Mike Percy <mp...@apache.org>
Authored: Sun Jun 23 02:06:42 2013 -0700
Committer: Mike Percy <mp...@apache.org>
Committed: Sun Jun 23 02:06:42 2013 -0700

----------------------------------------------------------------------
 flume-ng-doc/sphinx/FlumeUserGuide.rst | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flume/blob/4c9e85ab/flume-ng-doc/sphinx/FlumeUserGuide.rst
----------------------------------------------------------------------
diff --git a/flume-ng-doc/sphinx/FlumeUserGuide.rst b/flume-ng-doc/sphinx/FlumeUserGuide.rst
index 06f8efa..a7aeef4 100644
--- a/flume-ng-doc/sphinx/FlumeUserGuide.rst
+++ b/flume-ng-doc/sphinx/FlumeUserGuide.rst
@@ -1905,8 +1905,9 @@ Required properties are in **bold**.
 Property Name                 Default           Description
 ============================  ================  ===============================================================================
 **type**                      --                The component type name, needs to be ``memory``
-capacity                      100               The max number of events stored in the channel
-transactionCapacity           100               The max number of events stored in the channel per transaction
+capacity                      100               The maximum number of events stored in the channel
+transactionCapacity           100               The maximum number of events the channel will take from a source or give to a
+                                                sink per transaction
 keep-alive                    3                 Timeout in seconds for adding or removing an event
 byteCapacityBufferPercentage  20                Defines the percent of buffer between byteCapacity and the estimated total size
                                                 of all events in the channel, to account for data in headers. See below.
@@ -1929,7 +1930,11 @@ Example for agent named a1:
 
   a1.channels = c1
   a1.channels.c1.type = memory
-  a1.channels.c1.capacity = 1000
+  a1.channels.c1.capacity = 10000
+  a1.channels.c1.transactionCapacity = 10000
+  a1.channels.c1.byteCapacityBufferPercentage = 20
+  a1.channels.c1.byteCapacity = 800000
+  
 
 JDBC Channel
 ~~~~~~~~~~~~