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 <vahidhashem...@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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to