Updated Branches: refs/heads/flume-1.4 f17c3fef2 -> e6cacd093
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/e6cacd09 Tree: http://git-wip-us.apache.org/repos/asf/flume/tree/e6cacd09 Diff: http://git-wip-us.apache.org/repos/asf/flume/diff/e6cacd09 Branch: refs/heads/flume-1.4 Commit: e6cacd09392a4220757f47fd90463952e8a833de Parents: f17c3fe Author: Mike Percy <[email protected]> Authored: Sun Jun 23 02:06:42 2013 -0700 Committer: Mike Percy <[email protected]> Committed: Sun Jun 23 02:07:08 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/e6cacd09/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 ~~~~~~~~~~~~
