chia7712 commented on code in PR #19039:
URL: https://github.com/apache/kafka/pull/19039#discussion_r1972658599


##########
clients/src/test/java/org/apache/kafka/common/config/AbstractConfigTest.java:
##########
@@ -450,6 +450,33 @@ public void testConfigProvidersPropsAsParam() {
         MockFileConfigProvider.assertClosed(id);
     }
 
+    @Test
+    public void testAutomaticConfigProvidersWithFullClassName() {
+        Properties props = new Properties();
+        props.put("config.providers", "file");
+        props.put("config.providers.file.class", 
MockFileConfigProvider.class.getName());
+        String id = UUID.randomUUID().toString();

Review Comment:
   it is totally fine to use java `UUID` as all we want to do is to generate a 
random string



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