GitHub user majorendre opened a pull request: https://github.com/apache/flume/pull/244
FLUME-2989 added 2 KafkaChannel metrics KafkaChannel was missing some metrics: eventTakeAttemptCount, eventPutAttemptCount This PR is based on the patch included in the issue that was the work of Umesh Chaudhary. I reworked the test a bit to use Mockito, and made some other minor modifications to the test. You can merge this pull request into a Git repository by running: $ git pull https://github.com/majorendre/flume FLUME-2989 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/flume/pull/244.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #244 ---- commit 8de6c94089ddbfbd88e2d13a47c91fa0800bc7d6 Author: Endre Major <emajor@...> Date: 2018-11-22T22:09:38Z FLUME-2989 added KafkaChannel metrics eventTakeAttemptCount, eventPutAttemptCount ---- ---