KAFKA-12519: Remove built-in Streams metrics for versions 0.10.0-2.4#10765
Conversation
|
Sorry for this massive cleanup PR: @guozhangwang @mjsax @ableegoldman @vvcephei @abbccdda |
showuon
left a comment
There was a problem hiding this comment.
@cadonna , thanks for the PR. I have a quick look, left some comments. In additional to that, I did a search, and found there are still 2 places with related variables that should be handled.
THREAD_ID_TAG_0100_TO_24variable inStreamsMetricsImpl.javaTHREAD_ID_TAG_0100_TO_24variable inStreamTaskTest.java
Thank you.
There was a problem hiding this comment.
After removing FROM_0100_TO_24, I think we can remove this parseBuiltInMetricsVersion, too.
There was a problem hiding this comment.
If the enum only has 1 element and named as LATEST, did we still need this enum?
There was a problem hiding this comment.
Since we decided to keep the config built.in.metrics.version I think it is OK to keep also this enum.
@showuon Nice catch! |
guozhangwang
left a comment
There was a problem hiding this comment.
Thanks for the effort! Made a pass. Did not spot anything yellow.
There was a problem hiding this comment.
Learned something new about andStubReturn v.s. andReturn :)
There was a problem hiding this comment.
We forgot to add this before?
There was a problem hiding this comment.
Good that you mention that! I checked the metered state store tests and found some testing holes.
8a8c97d to
2afe7b3
Compare
As specified in KIP-743, this PR removes the built-in metrics in Streams that are superseded by the refactoring proposed in KIP-444.
2afe7b3 to
cb253df
Compare
|
@showuon and @guozhangwang Do you want to have a second look after my last update of the unit tests? Otherwise I would move on and merge. |
|
Test failures are unrelated and known to be flaky: |
|
@showuon Thanks for the review! |
guozhangwang
left a comment
There was a problem hiding this comment.
Made a quick pass on the latest two commits, LGTM.
As specified in KIP-743, this PR removes the built-in metrics
in Streams that are superseded by the refactoring proposed in KIP-444.
Committer Checklist (excluded from commit message)