junrao commented on code in PR #21053:
URL: https://github.com/apache/kafka/pull/21053#discussion_r2955040967


##########
metadata/src/test/java/org/apache/kafka/image/loader/MetadataLoaderTest.java:
##########
@@ -924,4 +927,76 @@ public void onMetadataUpdate(MetadataDelta delta, 
MetadataImage newImage, Loader
         }
         faultHandler.maybeRethrowFirstException();
     }
+
+    @Test
+    public void testUnsupportedConfigFilteredInCommit() throws Exception {
+        // Create a checker that rejects "message.format.version"
+        SupportedConfigChecker checker = (type, name) ->
+            !name.equals("message.format.version");

Review Comment:
   Could we just use DefaultSupportedConfigChecker? Ditto below.



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