MarvinCai commented on issue #10488:
URL: https://github.com/apache/pulsar/issues/10488#issuecomment-839765372


   Hi there, as reader already support `seek` by messageId, maybe we can expose 
admin API to get message position before/after  N message from given position 
then we can utilize the seek to position our reader. Currently we already have 
[ManagedLedgerImpl.getPositionAfterN 
](https://github.com/apache/pulsar/blob/99ccd1d7b82ae91a5d5b5414d4cdde49a51b7710/managed-ledger/src/main/java/org/apache/bookkeeper/mledger/impl/ManagedLedgerImpl.java#L3036)
 probably we can expose it and add `getPositionBeforeN`


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


Reply via email to