chia7712 commented on code in PR #20791:
URL: https://github.com/apache/kafka/pull/20791#discussion_r2551826532
##########
clients/src/main/java/org/apache/kafka/clients/producer/internals/Sender.java:
##########
@@ -337,7 +337,8 @@ void runOnce() {
long currentTimeMs = time.milliseconds();
long pollTimeout = sendProducerData(currentTimeMs);
- client.poll(pollTimeout, currentTimeMs);
+ if (!forceClose)
Review Comment:
the race condition is still existent, right?
--
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]