-
Notifications
You must be signed in to change notification settings - Fork 230
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
support the $changeStream aggregation in 3.6+ #38
Conversation
The $changeStream aggregation isn't very well documented, but an overview can be found here: https://mongodb.github.io/mongo-java-driver/3.6/driver/tutorials/change-streams/ This commit is a squash of 4 commits from the 10gen fork of mgo: * e78a135 * 31a6d57 * 7940d20 * 0d8351c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We are missing the values that can be set in the FullDocument field.
This is:
- DEFAULT
- UPDATE_LOOKUP
And possibly some documentation re ResumeAfter field.
I assume this is a query that would return a single document, no?
Keeping this on hold for the time being - ideally we want to wait for |
Any update on this thread ? |
Hi @surfeurX I think it's definitely mature enough to consider implementing now the 3.6 release is imminent. Some helpful integration docs have appeared too: Our team is rather busy at the moment so we're open to outside PR's for this I guess - it's our intention to get this feature in one way or another though, I just can't put a timeline on it yet. Dom |
Thank you @domodwyer, I may have some time to implement it next week 👍 |
We are looking at implementing this too. We will review the docs tomorrow, 2017-12-07, and come up with a testing strategy. |
Any news on this? Are just tests needed or is there something else missing? |
If i understand correctly, |
Opened PR #97 hoping we can move on. |
Hi @peterdeka - really sorry for the lack of a reply, I've been away at a conference. Thanks for opening a PR - it's really appreciated! We'll take a look 👍 Dom |
The
$changeStream
aggregation isn't very well documented, but looks very interesting. An overview can be found here:This commit is a squash of 4 commits from the 10gen fork of mgo:
* go-mgo@e78a135
* go-mgo@31a6d57
* go-mgo@7940d20
* go-mgo@0d8351c