Ability to create the resume token based on oplog item
CHoose an oplog event to set the resume token for, instead of needing to run the change stream for system to create a resume token
Why: Concerns about many stream re-reading a full oplog if failure before finding first event
![](https://secure.gravatar.com/avatar/9b75fdec9b13cef6aef99fada2a17d99?size=40&default=https%3A%2F%2Fassets.uvcdn.com%2Fpkg%2Fadmin%2Ficons%2Fuser_70-6bcf9e08938533adb9bac95c3e487cb2a6d4a32f890ca6fdc82e3072e0ea0368.png)
-
Sigfrido commented
A customer would like to obtain the set of ChangeStream resume tokens for a particular point in time so that they can selectively resume using a particular resume token.
The startAtOperationTime feature of change streams uses a BSON timestamp, which has second-level granularity, and there could be many oplog entries within a second.
If we had an option to return all the documents (and their respective change stream resume tokens) in the oplog for a given timestamp, then the customer could perform additional filtering, (or the filter could also be part of the operation) and allow them to resume, more selectively.