TaiJuWu opened a new pull request, #21162:
URL: https://github.com/apache/kafka/pull/21162

   The original error show `java.util.Collections$3@af78c87`, after change it 
show the `[config.key.3, config.key.1, config.key.2]`
   
   Example:
   ```
     @Test
     def testPropertiesContent(): Unit = {
       val props = new Properties()
       props.put("config.key.1", "value1")
       props.put("config.key.2", "value2")
       props.put("config.key.3", "value3")
   
       System.err.println("\nProperties content:")
       System.err.println(s"  props = $props")
       // output: props = {config.key.3=value3, config.key.2=value2, 
config.key.1=value1}
   
       System.err.println(s"\n  props.keySet() = ${props.keySet()}")
       // output: props.keySet() = [config.key.3, config.key.2, config.key.1]
   
       System.err.println(s"\n  Set from keys = ${props.keys()}")
       // output: Set from keySet = java.util.Collections$3@af78c87
     }
   ```


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