sasukerui opened a new pull request #8942: URL: https://github.com/apache/kafka/pull/8942
in the method handleTopicMetadataRequest it has been determined whether authorizedTopics is empty,no need to judge again in the getTopicMetadata method,the method getTopicMetadata should be removed topics.isEmpty. Maybe in the future getTopicMetadata method will use the single judgment condition. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org