You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by ijuma <gi...@git.apache.org> on 2017/09/29 20:18:26 UTC

[GitHub] kafka pull request #3996: KAFKA-5746; Return 0.0 from Metric.value() instead...

GitHub user ijuma opened a pull request:

    https://github.com/apache/kafka/pull/3996

    KAFKA-5746; Return 0.0 from Metric.value() instead of throwing exception

    This is less likely to break custom metric reporters and since the method
    is deprecated, people will be warned about this potential issue.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/ijuma/kafka avoid-exception-in-measurable-value

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/kafka/pull/3996.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 #3996
    
----
commit e97844d036dfe1bc2e795ddb12b5c61201ab3c9c
Author: Ismael Juma <is...@juma.me.uk>
Date:   2017-09-29T20:14:57Z

    KAFKA-5746; Return 0.0 from Metric.value() instead of throwing exception
    
    This is less likely to break custom metric reporters and since the method
    is deprecated, people will be warned about this potential issue.

----


---

[GitHub] kafka pull request #3996: KAFKA-5746; Return 0.0 from Metric.value() instead...

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

    https://github.com/apache/kafka/pull/3996


---