Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Support for startAfter in Reactive MongoDB Change Streams #27522

Closed
luketn opened this issue Aug 26, 2022 · 1 comment · Fixed by #27523
Closed

Add Support for startAfter in Reactive MongoDB Change Streams #27522

luketn opened this issue Aug 26, 2022 · 1 comment · Fixed by #27523
Labels
area/mongodb kind/enhancement New feature or request
Milestone

Comments

@luketn
Copy link
Contributor

luketn commented Aug 26, 2022

Description

The ChangeStreamOptions support in Quarkus Reactive Mongo Client allows you to specify most parameters to the underlying ChangeStreamPublisher from the Reactive Mongo Client.

One missing option however is the startAfter(resumeToken) method.

This is an important method, because if the collection you are watching is dropped the resume token can only be used with startAfter, not resumeAfter.
Ref: https://www.mongodb.com/docs/manual/changeStreams/#startafter-for-change-streams

Implementation ideas

Pull request to follow with implementation.

@luketn luketn added the kind/enhancement New feature or request label Aug 26, 2022
@quarkus-bot
Copy link

quarkus-bot bot commented Aug 26, 2022

/cc @evanchooly, @loicmathieu

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/mongodb kind/enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants