philipnee commented on code in PR #16043: URL: https://github.com/apache/kafka/pull/16043#discussion_r1630472373
########## clients/src/main/java/org/apache/kafka/clients/consumer/internals/ConsumerNetworkThread.java: ########## @@ -145,6 +154,7 @@ void runOnce() { .map(networkClientDelegate::addAll) .reduce(MAX_POLL_TIMEOUT_MS, Math::min); networkClientDelegate.poll(pollWaitTimeMs, currentTimeMs); + maybePropagateMetadataError(); Review Comment: hey @lianetm - it seems like invalidTopicException is only thrown in the `poll()`. i guess `InvalidTopicException` is irrelevant during closing as the client is shutting down anyway. -- 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-unsubscr...@kafka.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org