AndrewJSchofield commented on PR #16250:
URL: https://github.com/apache/kafka/pull/16250#issuecomment-2157670039

   I don't quite understand this PR. Why are we replacing 
`Collections.unmodifiableMap` with `HashMap`, but we are still happy to return 
`Collectors.toMap` which states in the javadoc that "There are no guarantees on 
the type, mutability, serializability, or thread-safety of the Map returned.".


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

Reply via email to