Any way to get current seqno of all vBuckets

hey David, while using DCP , is there any possibilities by which we can get the most recent or last streamOffset of all the vBuckets ? if not streamOffset, is it possible to get current seqNo and resumeStreaming only using seqNo

rollbackAndResumeStreaming does not work for me.


this does not resume the stream from that seqNo instead , gives all the documents present on that vBucket

kindly help in this regard.

Hi Karthikeyan. Take a look at Client.initializeState(StreamFrom, StreamTo). You can pass StreamFrom.NOW, then inspect the session state.