chia7712 commented on code in PR #18692: URL: https://github.com/apache/kafka/pull/18692#discussion_r1929550813
########## core/src/main/scala/kafka/server/metadata/KRaftMetadataCache.scala: ########## @@ -60,42 +60,25 @@ class KRaftMetadataCache( // This method is the main hotspot when it comes to the performance of metadata requests, // we should be careful about adding additional logic here. - // filterUnavailableEndpoints exists to support v0 MetadataResponses private def maybeFilterAliveReplicas(image: MetadataImage, Review Comment: This method has one-line only, so maybe we can inline this method? -- 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]
