jolshan opened a new pull request #9447: URL: https://github.com/apache/kafka/pull/9447
This part of the code is a little confusing, so I thought I should fix this comment. When creating a builder for UpdateMetadataRequest, the topic name is set in UpdateMetadataPartitionState. For versions 5 and onward, the topic name is added to the UpdateMetadataTopicState, and this code does not null out the topic name in the UpdateMetadataPartitionState when it does this. ---------------------------------------------------------------- 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