brandboat opened a new pull request, #21607: URL: https://github.com/apache/kafka/pull/21607
No caller uses find() on ListenerCollection. Removing mapKey=true changes the generated type to List<Listener>, which lets BrokerLifecycleManager store an immutable copy via List.copyOf() instead of the mutable .duplicate(), and avoids wrapping the list back into a ListenerCollection when building BrokerRegistrationRequestData. mapKey is a codegen-only annotation with no effect on the wire format, so RPC compatibility is unaffected. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
