AndrewJSchofield commented on code in PR #14843:
URL: https://github.com/apache/kafka/pull/14843#discussion_r1405973179
##########
clients/src/main/java/org/apache/kafka/clients/producer/KafkaProducer.java:
##########
@@ -1351,6 +1364,7 @@ private void close(Duration timeout, boolean
swallowException) {
log.error("Interrupted while joining ioThread", t);
}
}
+ clientTelemetryReporter.ifPresent(reporter ->
reporter.initiateClose(timeoutMs));
Review Comment:
Timeout handling is not correct. There are two operations both using the
value of `timeoutMs`.
--
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]