You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2021/06/21 14:41:36 UTC

[GitHub] [pulsar] 315157973 commented on a change in pull request #10997: [Issue 10996] release multiTopicsConsumerImpl when unsubscribe

315157973 commented on a change in pull request #10997:
URL: https://github.com/apache/pulsar/pull/10997#discussion_r655438083



##########
File path: pulsar-client/src/main/java/org/apache/pulsar/client/impl/MultiTopicsConsumerImpl.java
##########
@@ -560,12 +560,9 @@ public void negativeAcknowledge(MessageId messageId) {
             .whenComplete((r, ex) -> {
                 if (ex == null) {
                     setState(State.Closed);
-                    unAckedMessageTracker.close();
+                    cleanupMultiConsumer();
                     closeFuture.complete(null);
                     log.info("[{}] [{}] Closed Topics Consumer", topic, subscription);

Review comment:
       This log seems to be repeated




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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org