nodece commented on code in PR #15568:
URL: https://github.com/apache/pulsar/pull/15568#discussion_r896515237


##########
pulsar-broker/src/main/java/org/apache/pulsar/broker/service/persistent/PersistentTopic.java:
##########
@@ -878,61 +884,64 @@ private CompletableFuture<Subscription> 
getDurableSubscription(String subscripti
 
         Map<String, Long> properties = 
PersistentSubscription.getBaseCursorProperties(replicated);
 
-        ledger.asyncOpenCursor(Codec.encode(subscriptionName), 
initialPosition, properties, new OpenCursorCallback() {
-            @Override
-            public void openCursorComplete(ManagedCursor cursor, Object ctx) {
-                if (log.isDebugEnabled()) {
-                    log.debug("[{}][{}] Opened cursor", topic, 
subscriptionName);
-                }
+        ledger.asyncOpenCursor(Codec.encode(subscriptionName), 
initialPosition, properties, startMessageIdInclusive,

Review Comment:
   Updated.



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

Reply via email to