codelipenghui commented on a change in pull request #10224:
URL: https://github.com/apache/pulsar/pull/10224#discussion_r617177349
##########
File path:
managed-ledger/src/main/java/org/apache/bookkeeper/mledger/impl/ManagedCursorImpl.java
##########
@@ -586,6 +588,47 @@ public void asyncReadEntries(int numberOfEntriesToRead,
long maxSizeBytes, ReadE
ledger.asyncReadEntries(op);
}
+ public CompletableFuture<Entry> readSpecifyPositionByPosition(PositionImpl
position) {
Review comment:
We already have a method `asyncReadEntry` in the ManagedLedgerImpl, it's
better to use the current implementation directly.
--
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:
[email protected]