-
Notifications
You must be signed in to change notification settings - Fork 14k
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-18077: Remove deprecated JmxReporter(String) #17923
KAFKA-18077: Remove deprecated JmxReporter(String) #17923
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@clarkwtc please update upgrade.html
also
@chia7712 I have updated the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@clarkwtc thanks for your patch. please rebase code
public JmxReporter(String prefix) { | ||
this.prefix = prefix != null ? prefix : ""; | ||
} | ||
public JmxReporter() {} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please initialize "prefix" to empty string and then remove this default constructor as well.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@chia7712 I got it; I missed initializing "prefix" to empty string, thanks.
Remove the following code about the deprecated JmxReporter(String).
Committer Checklist (excluded from commit message)