Repository: flume Updated Branches: refs/heads/trunk 7d1e683fb -> 4a7db4a36
FLUME-2934. Document new cachePatternMatching option for TaildirSource (Attila Simon 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/4a7db4a3 Tree: http://git-wip-us.apache.org/repos/asf/flume/tree/4a7db4a3 Diff: http://git-wip-us.apache.org/repos/asf/flume/diff/4a7db4a3 Branch: refs/heads/trunk Commit: 4a7db4a363a7ed7391e11685bb6a0f47cbfa2328 Parents: 7d1e683 Author: Mike Percy <[email protected]> Authored: Fri Jun 24 16:39:35 2016 -0700 Committer: Mike Percy <[email protected]> Committed: Fri Jun 24 16:39:35 2016 -0700 ---------------------------------------------------------------------- flume-ng-doc/sphinx/FlumeUserGuide.rst | 4 ++++ 1 file changed, 4 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flume/blob/4a7db4a3/flume-ng-doc/sphinx/FlumeUserGuide.rst ---------------------------------------------------------------------- diff --git a/flume-ng-doc/sphinx/FlumeUserGuide.rst b/flume-ng-doc/sphinx/FlumeUserGuide.rst index 74d2887..affdf66 100644 --- a/flume-ng-doc/sphinx/FlumeUserGuide.rst +++ b/flume-ng-doc/sphinx/FlumeUserGuide.rst @@ -1126,6 +1126,10 @@ writePosInterval 3000 Interval time batchSize 100 Max number of lines to read and send to the channel at a time. Using the default is usually fine. backoffSleepIncrement 1000 The increment for time delay before reattempting to poll for new data, when the last attempt did not find any new data. maxBackoffSleep 5000 The max time delay between each reattempt to poll for new data, when the last attempt did not find any new data. +cachePatternMatching true Listing directories and applying the filename regex pattern may be time consuming for directories + containing thousands of files. Caching the list of matching files can improve performance. + The order in which files are consumed will also be cached. + Requires that the file system keeps track of modification times with at least a 1-second granularity. =================================== ============================== =================================================== Example for agent named a1:
