gaoran10 commented on code in PR #22019:
URL: https://github.com/apache/pulsar/pull/22019#discussion_r1477621658


##########
managed-ledger/src/main/java/org/apache/bookkeeper/mledger/impl/ManagedCursorImpl.java:
##########
@@ -3622,4 +3622,35 @@ public boolean isCacheReadEntry() {
     public ManagedLedgerConfig getConfig() {
         return config;
     }
+
+    /***
+     * Create a non-durable cursor and copy the ack stats.
+     */
+    public CompletableFuture<ManagedCursor> duplicateToNonDurableCursor(String 
nonDurableCursorName) {

Review Comment:
   Maybe we don't need to use CompletableFuture as a result, there is no async 
method.



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