TaiJuWu commented on code in PR #19259: URL: https://github.com/apache/kafka/pull/19259#discussion_r2008840279
########## clients/src/test/java/org/apache/kafka/common/config/AbstractConfigTest.java: ########## @@ -114,6 +114,15 @@ public void testOriginalsWithPrefix() { assertEquals(expected, originalsWithPrefix); } + @Test + public void testPreprocessConfig() { + Properties props = new Properties(); + props.put("foo.bar", "abc"); + props.put("setting", "def"); + TestConfig config = new TestConfig(props); + assertEquals("success", config.get("preprocess")); Review Comment: If `foo.bar` and `setting` is not defined in `CONDEF`, it will be removed so I deleted these entry. Thanks for your review and suggestion ! -- 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: jira-unsubscr...@kafka.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org