kirktrue commented on code in PR #17699:
URL: https://github.com/apache/kafka/pull/17699#discussion_r1868794024


##########
clients/src/main/java/org/apache/kafka/clients/consumer/internals/AsyncKafkaConsumer.java:
##########
@@ -1045,18 +1052,15 @@ public void pause(Collection<TopicPartition> 
partitions) {
     public void resume(Collection<TopicPartition> partitions) {
         acquireAndEnsureOpen();
         try {
-            log.debug("Resuming partitions {}", partitions);
-            for (TopicPartition partition : partitions) {
-                subscriptions.resume(partition);
-            }
+            applicationEventHandler.addAndGet(new 
ResumePartitionsEvent(partitions, defaultApiTimeoutDeadlineMs()));

Review Comment:
   Ditto above for `pause()`.



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