chia7712 commented on code in PR #15853:
URL: https://github.com/apache/kafka/pull/15853#discussion_r1589364098


##########
clients/src/main/java/org/apache/kafka/clients/consumer/internals/AsyncKafkaConsumer.java:
##########
@@ -906,6 +906,7 @@ public long position(TopicPartition partition, Duration 
timeout) {
                     return position.offset;
 
                 updateFetchPositions(timer);

Review Comment:
   `properties.put(ConsumerConfig.BOOTSTRAP_SERVERS_CONFIG, 
"localhost:12345");` can cause the connection waiting, and that should be 
"wakeupable"



-- 
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

Reply via email to