jim0987795064 opened a new pull request, #19847: URL: https://github.com/apache/kafka/pull/19847
This pull request addresses KAFKA-19305 by ensuring that collections used in these classes are fully immutable. ## Changes - Updated `ClientQuotaImage` and `TopicImage` by using `Collections.unmodifiableMap` or `ImmutableMap` to prevent accidental or intentional mutations after construction. -- 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