CalvinConfluent commented on code in PR #14603:
URL: https://github.com/apache/kafka/pull/14603#discussion_r1371084404


##########
storage/src/main/java/org/apache/kafka/storage/internals/log/CleanShutdownFileHandler.java:
##########
@@ -49,13 +47,15 @@ public class CleanShutdownFileHandler {
     private static final int CURRENT_VERSION = 0;
     private final Logger logger;
 
-    private enum Fields {
-        VERSION,
-        BROKER_EPOCH;
+    private static class Content {
+        public int version;
+        public Long brokerEpoch;
 
-        @Override
-        public String toString() {
-            return name().toLowerCase(Locale.ROOT);
+        public Content() {};

Review Comment:
   This is the constructor used by ObjectMapper().readValue



-- 
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.

To unsubscribe, e-mail: [email protected]

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

Reply via email to