showuon commented on a change in pull request #10765:
URL: https://github.com/apache/kafka/pull/10765#discussion_r639585452



##########
File path: 
streams/src/main/java/org/apache/kafka/streams/processor/internals/metrics/StreamsMetricsImpl.java
##########
@@ -175,11 +171,7 @@ public StreamsMetricsImpl(final Metrics metrics,
     }
 
     private static Version parseBuiltInMetricsVersion(final String 
builtInMetricsVersion) {

Review comment:
       After removing `FROM_0100_TO_24`, I think we can remove this 
`parseBuiltInMetricsVersion`, too.

##########
File path: 
streams/src/main/java/org/apache/kafka/streams/processor/internals/metrics/StreamsMetricsImpl.java
##########
@@ -52,8 +51,7 @@
 public class StreamsMetricsImpl implements StreamsMetrics {
 
     public enum Version {
-        LATEST,
-        FROM_0100_TO_24
+        LATEST

Review comment:
       If the enum only has 1 element and named as `LATEST`, did we still need 
this `enum`?




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to