xiaoqingwanga opened a new pull request, #22680: URL: https://github.com/apache/kafka/pull/22680
In `KRaftMetadataCache`, `getPartitionLeaderEndpoint` returns empty when the previous leader is offline after the refactor. With this PR, the method now returns `noNode` when the leader partition exists, aligning with the original Scala implementation. Changes are covered by unit tests. Please feel free to review. -- 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]
