soarez opened a new pull request, #22234:
URL: https://github.com/apache/kafka/pull/22234

   TopicPartitionInfo.leader() may return null, but the existing code in 
ClusterInstance called .id() without a null check. Extract the logic into a new 
AdminUtils class with null handling, delegate from ClusterInstance, and add 
unit tests.
   
   


-- 
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]

Reply via email to