[ https://issues.apache.org/jira/browse/KAFKA-16917?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chia-Ping Tsai updated KAFKA-16917: ----------------------------------- Summary: DescribeTopicsResult should use mutable map in order to keep compatibility (was: Align the returned map type of KafkaAdminClient) > DescribeTopicsResult should use mutable map in order to keep compatibility > -------------------------------------------------------------------------- > > Key: KAFKA-16917 > URL: https://issues.apache.org/jira/browse/KAFKA-16917 > Project: Kafka > Issue Type: Improvement > Reporter: Chia-Ping Tsai > Assignee: TengYao Chi > Priority: Minor > > 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] -- This message was sent by Atlassian Jira (v8.20.10#820010)