You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by vahidhashemian <gi...@git.apache.org> on 2016/01/18 22:59:21 UTC
[GitHub] kafka pull request: KAFKA-3111: Fix ConsumerPerformance output for...
GitHub user vahidhashemian opened a pull request:
https://github.com/apache/kafka/pull/788
KAFKA-3111: Fix ConsumerPerformance output for zero interval lengths
Interval lengths for ConsumerPerformance could sometime be calculated as zero. In such cases, when the bytes read or messages read are also zero a NaN output is returned for mbRead per second or for nMsg per second, whereas zero would be a more appropriate output.
In cases where interval length is zero but there have been data and messages to read, an output of Infinity is returned, as expected.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/vahidhashemian/kafka KAFKA-3111
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/kafka/pull/788.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 #788
----
commit 34c54e98c5e641986d74506edfd17b0c0ba105c2
Author: Vahid Hashemian <va...@us.ibm.com>
Date: 2016-01-18T21:50:02Z
KAFKA-3111: Fix ConsumerPerformance output for zero interval lengths
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] kafka pull request: KAFKA-3111: Fix ConsumerPerformance output for...
Posted by vahidhashemian <gi...@git.apache.org>.
GitHub user vahidhashemian reopened a pull request:
https://github.com/apache/kafka/pull/788
KAFKA-3111: Fix ConsumerPerformance output for zero interval lengths
Interval lengths for ConsumerPerformance could sometime be calculated as zero. In such cases, when the bytes read or messages read are also zero a NaN output is returned for mbRead per second or for nMsg per second, whereas zero would be a more appropriate output.
In cases where interval length is zero but there have been data and messages to read, an output of Infinity is returned, as expected.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/vahidhashemian/kafka KAFKA-3111
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/kafka/pull/788.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 #788
----
commit 34c54e98c5e641986d74506edfd17b0c0ba105c2
Author: Vahid Hashemian <va...@us.ibm.com>
Date: 2016-01-18T21:50:02Z
KAFKA-3111: Fix ConsumerPerformance output for zero interval lengths
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] kafka pull request #788: KAFKA-3111: Fix ConsumerPerformance reporting to us...
Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:
https://github.com/apache/kafka/pull/788
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] kafka pull request: KAFKA-3111: Fix ConsumerPerformance output for...
Posted by vahidhashemian <gi...@git.apache.org>.
Github user vahidhashemian closed the pull request at:
https://github.com/apache/kafka/pull/788
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---