Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
Description
new target
DescribeTopicsResult returned mutable map before, and it was changed to immutable map exceptionally. Hence, we should revert it back to mutable map.
origin target
This jira includes following issues:
- KafkaAdminClient#alterClientQuotas [0] return a immutable map, but other APIs return `HashMap`.
- KafkaAdminClient#describeConfigs [1] has duplicate copy. the returned stuff from `Collectors.toMap` is a new HashMap already.
[0] https://github.com/apache/kafka/blob/d13a693ea768fa8013240dc39bc21db92bffc31f/clients/src/main/java/org/apache/kafka/clients/admin/KafkaAdminClient.java#L4074
[1] https://github.com/apache/kafka/blob/d13a693ea768fa8013240dc39bc21db92bffc31f/clients/src/main/java/org/apache/kafka/clients/admin/KafkaAdminClient.java#L2763
Attachments
Issue Links
- links to