chia7712 commented on PR #16250: URL: https://github.com/apache/kafka/pull/16250#issuecomment-2156189050
> Out of curiosity, what’s the reason for not returning unmodifiable maps? I think that we should actually ensure that the admin client does not return modifiable maps. I prefer to return immutable map too, but not sure whether users modify the returned maps directly. In order to keep compatibility and consistency, using `HashMap` to be the return type is fine I think. -- 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: jira-unsubscr...@kafka.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org