Repository: flume Updated Branches: refs/heads/trunk 83632c614 -> 31c729e3c
Clean up references to the Flume 0.9 TailSource and recommendations to use Exec source to tail files Flume has Spooling Directory Source and Taildir Source now, so there's no need to use workarounds such as the Exec source to tail files. This closes #88 Reviewers: Denes Arvay, Jeff Holoman (Peter Ableda via Bessenyei Balázs Donát) Project: http://git-wip-us.apache.org/repos/asf/flume/repo Commit: http://git-wip-us.apache.org/repos/asf/flume/commit/31c729e3 Tree: http://git-wip-us.apache.org/repos/asf/flume/tree/31c729e3 Diff: http://git-wip-us.apache.org/repos/asf/flume/diff/31c729e3 Branch: refs/heads/trunk Commit: 31c729e3cbfc1e5111318b1d1abed875807185cd Parents: 83632c6 Author: Peter Ableda <[email protected]> Authored: Fri Nov 18 16:41:54 2016 +0100 Committer: Bessenyei Balázs Donát <[email protected]> Committed: Wed Nov 23 19:14:17 2016 +0100 ---------------------------------------------------------------------- flume-ng-doc/sphinx/FlumeUserGuide.rst | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flume/blob/31c729e3/flume-ng-doc/sphinx/FlumeUserGuide.rst ---------------------------------------------------------------------- diff --git a/flume-ng-doc/sphinx/FlumeUserGuide.rst b/flume-ng-doc/sphinx/FlumeUserGuide.rst index ce86160..7c53b5a 100644 --- a/flume-ng-doc/sphinx/FlumeUserGuide.rst +++ b/flume-ng-doc/sphinx/FlumeUserGuide.rst @@ -357,8 +357,6 @@ There's an exec source that executes a given command and consumes the output. A single 'line' of output ie. text followed by carriage return ('\\r') or line feed ('\\n') or both together. -.. note:: Flume does not support tail as a source. One can wrap the tail command in an exec source to stream the file. - Network streams ~~~~~~~~~~~~~~~ @@ -882,13 +880,9 @@ interceptors.* asynchronous interface such as ExecSource! As an extension of this warning - and to be completely clear - there is absolutely zero guarantee of event delivery when using this source. For stronger reliability - guarantees, consider the Spooling Directory Source or direct integration + guarantees, consider the Spooling Directory Source, Taildir Source or direct integration with Flume via the SDK. -.. note:: You can use ExecSource to emulate TailSource from Flume 0.9x (flume og). - Just use unix command ``tail -F /full/path/to/your/file``. Parameter - -F is better in this case than -f as it will also follow file rotation. - Example for agent named a1: .. code-block:: properties
