Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
wants to merge 2 commits into from

Conversation

ijuma
Copy link
Contributor

@ijuma ijuma commented Sep 29, 2017

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

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

ijuma commented Sep 29, 2017

cc @ewencp @xvrl @rajinisivaram

Copy link
Contributor

@ewencp ewencp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks for the quick turnaround time!

@ijuma
Copy link
Contributor Author

ijuma commented Sep 29, 2017

Will merge to trunk after the build completes.

@ijuma
Copy link
Contributor Author

ijuma commented Oct 1, 2017

Tweaked the upgrade text a little and merged to trunk.

@asfgit asfgit closed this in 4f4f995 Oct 1, 2017
@ijuma ijuma deleted the avoid-exception-in-measurable-value branch December 22, 2017 18:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants