-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/59743/
-----------------------------------------------------------

(Updated 六月 4, 2017, 10:10 a.m.)


Review request for Flume.


Changes
-------

make numThreshold configurable. 1000 can be a default.
log a warning when readCount larger than numThreshold


Bugs: FLUME-3101
    https://issues.apache.org/jira/browse/FLUME-3101


Repository: flume-git


Description
-------

Add a threshold in TaildirSource. Use the threshold to control the number of 
reads when a file is written by high frequency.


Diffs (updated)
-----

  
flume-ng-sources/flume-taildir-source/src/main/java/org/apache/flume/source/taildir/TaildirSource.java
 a107a01 
  
flume-ng-sources/flume-taildir-source/src/main/java/org/apache/flume/source/taildir/TaildirSourceConfigurationConstants.java
 f2347f3 


Diff: https://reviews.apache.org/r/59743/diff/2/

Changes: https://reviews.apache.org/r/59743/diff/1-2/


Testing
-------

mvn clean install -DskipTests -> built


Thanks,

hun shenshi

Reply via email to