You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by GitBox <gi...@apache.org> on 2021/07/26 21:02:24 UTC

[GitHub] [kafka] cmccabe commented on pull request #10951: KAFKA-12841: NPE from the provided metadata in client callback in case of ApiException

cmccabe commented on pull request #10951:
URL: https://github.com/apache/kafka/pull/10951#issuecomment-887023640


   This doesn't seem correct. You're making up a fake partition just so that `TopicPartition` can be non-null in the callback. Why not change the JavaDoc for the callback to indicate that `TopicPartition` can be null if the method fails before it gets assigned?


-- 
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: jira-unsubscribe@kafka.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org