chia7712 commented on code in PR #21481:
URL: https://github.com/apache/kafka/pull/21481#discussion_r2937056274
##########
tools/src/main/java/org/apache/kafka/tools/TopicCommand.java:
##########
@@ -164,9 +165,9 @@ private static Properties
parseTopicConfigsToBeAdded(TopicCommandOptions opts) {
throw new IllegalArgumentException("requirement failed: Invalid
topic config: all configs to be added must be in the format \"key=val\".");
}
- Properties props = new Properties();
+ Map<String, String> props = new HashMap<>();
configsToBeAdded.stream()
Review Comment:
```java
configsToBeAdded.forEach(pair -> props.put(pair.get(0).trim(),
pair.get(1).trim()));
```
--
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]