chia7712 commented on a change in pull request #9564: URL: https://github.com/apache/kafka/pull/9564#discussion_r517868504
########## File path: core/src/main/scala/kafka/server/BrokerToControllerChannelManagerImpl.scala ########## @@ -208,7 +209,9 @@ class BrokerToControllerRequestThread(networkClient: KafkaClient, } private[server] def handleResponse(request: BrokerToControllerQueueItem)(response: ClientResponse): Unit = { - if (response.wasDisconnected()) { + if (isTimedOut(response)) { + debug(s"The request failed to send to the controller after timeout ${clientRequestTimeout} ms: $response") + } else if (response.wasDisconnected()) { Review comment: (The following question is not related to this PR. just curious) Is it possible to encounter authentication error when forwarding? If so, is it necessary to avoid retrying such (error) request? ---------------------------------------------------------------- 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