[ 
https://issues.apache.org/jira/browse/FLUME-2988?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16695798#comment-16695798
 ] 

ASF subversion and git services commented on FLUME-2988:
--------------------------------------------------------

Commit 1c8c5e671f29c7e01bf5fc46e4c3b0fe8662addd in flume's branch 
refs/heads/trunk from [~fszabo]
[ https://git-wip-us.apache.org/repos/asf?p=flume.git;h=1c8c5e6 ]

FLUME-2988 Kafka Sink metrics missing eventDrainAttemptCount

Adding missing counter to KafkaSink

Reviewers: Denes Arvay, Attila Simon, Ferenc Szabo

(Udai Kiran Potluri via Ferenc Szabo)


> Kafka Sink metrics missing eventDrainAttemptCount
> -------------------------------------------------
>
>                 Key: FLUME-2988
>                 URL: https://issues.apache.org/jira/browse/FLUME-2988
>             Project: Flume
>          Issue Type: Bug
>          Components: Sinks+Sources
>            Reporter: Denes Arvay
>            Assignee: Udai Kiran Potluri
>            Priority: Minor
>             Fix For: 1.9.0
>
>         Attachments: FLUME-2988.1.patch
>
>
> {{eventDrainAttemptCount}} doesn't get incremented in Kafka Sink, only the 
> {{eventDrainSuccessCount}} 
> (https://github.com/apache/flume/blob/trunk/flume-ng-sinks/flume-ng-kafka-sink/src/main/java/org/apache/flume/sink/kafka/KafkaSink.java#L210)
>  resulting in misleading statistics (e.g. when calculating {{attemptCount - 
> successCount}})



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to