[
https://issues.apache.org/jira/browse/KAFKA-3564?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15246549#comment-15246549
]
ASF GitHub Bot commented on KAFKA-3564:
---------------------------------------
GitHub user kichristensen opened a pull request:
https://github.com/apache/kafka/pull/1235
KAFKA-3564: Count metric always increments by 1.0
Increment the counter by the value passed into the function
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/kichristensen/kafka KAFKA-3564
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/kafka/pull/1235.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 #1235
----
commit 5ba43fea0eff9f9322b42712968ea1811cd793b0
Author: Kim Christensen <[email protected]>
Date: 2016-04-18T21:11:56Z
Increment the counter as expected
----
> Count metric always increments by 1.0
> -------------------------------------
>
> Key: KAFKA-3564
> URL: https://issues.apache.org/jira/browse/KAFKA-3564
> Project: Kafka
> Issue Type: Bug
> Affects Versions: 0.10.1.0
> Reporter: Michael Coon
>
> The Count metric's update method always increments its value by 1.0 instead
> of the value passed to it. If this is by design, it's misleading as I want to
> be able to count based on values I send to the record method.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)