kirktrue commented on code in PR #12813: URL: https://github.com/apache/kafka/pull/12813#discussion_r1098825578
########## clients/src/main/java/org/apache/kafka/clients/producer/internals/Sender.java: ########## @@ -549,7 +549,13 @@ private boolean awaitNodeReady(Node node, FindCoordinatorRequest.CoordinatorType private void handleProduceResponse(ClientResponse response, Map<TopicPartition, ProducerBatch> batches, long now) { RequestHeader requestHeader = response.requestHeader(); int correlationId = requestHeader.correlationId(); - if (response.wasDisconnected()) { + if (response.wasTimedOut()) { + log.trace("Cancelled request with header {} due to node {} being disconnected due to timeout", Review Comment: Changed to: >Cancelled request with header {} due to the last request to node {} timed out -- 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