[GODRIVER-2337] Support custom options in $changeStream stage Created: 16/Mar/22  Updated: 29/Mar/22  Resolved: 24/Mar/22

Status: Closed
Project: Go Driver
Component/s: None
Affects Version/s: None
Fix Version/s: 1.9.0

Type: New Feature Priority: Critical - P2
Reporter: Kevin Albertson Assignee: Benji Rewis (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Related
Documentation Changes: Not Needed

 Description   

Background and motivation
There is an internal use case to pass undocumented and internal options to the $changeStream stage.

Scope

  • Add an option to ChangeStreamOptions to provide custom name/value options to the $changeStream stage.
  • Consider renaming the ChangeStreamOptions.CustomOptions introduced in GODRIVER-2278.


 Comments   
Comment by Githook User [ 29/Mar/22 ]

Author:

{'name': 'Jason Chan', 'email': 'jason.chan@mongodb.com', 'username': 'jasonjhchan'}

Message: REP-347 Implement per-shard change streams and update go driver version to include GODRIVER-2337,GODRIVER-2325 (#241)
Branch: main
https://github.com/10gen/mongosync/commit/59f9953dc32b352b8891a0c7e7f6880d4fa106c7

Comment by Githook User [ 24/Mar/22 ]

Author:

{'name': 'Benjamin Rewis', 'email': '32186188+benjirewis@users.noreply.github.com', 'username': 'benjirewis'}

Message: GODRIVER-2337 Add CustomPipeline to ChangeStreamOptions (edited) (#882)

Also renames CustomOptions to Custom in ChangeStreamOptions and AggregateOptions
Branch: master
https://github.com/mongodb/mongo-go-driver/commit/f4a087a417fcff6161cd7b7148aabc788c49251c

Comment by Benji Rewis (Inactive) [ 21/Mar/22 ]

Accidentally merged the original PR; code is still in review now on this PR https://github.com/mongodb/mongo-go-driver/pull/882

Comment by Githook User [ 21/Mar/22 ]

Author:

{'name': 'Preston Vasquez', 'email': 'prestonvs10@gmail.com', 'username': 'prestonvasquez'}

Message: Revert "GODRIVER-2337 Add CustomPipeline to ChangeStreamOptions (#880)" (#881)

This reverts commit 6cb4f9891e7dd5f676224ee364735463bf0121e1.
Branch: master
https://github.com/mongodb/mongo-go-driver/commit/0a65aaad070841bcc56e876b27e74771441a1668

Comment by Githook User [ 21/Mar/22 ]

Author:

{'name': 'Benjamin Rewis', 'email': '32186188+benjirewis@users.noreply.github.com', 'username': 'benjirewis'}

Message: GODRIVER-2337 Add CustomPipeline to ChangeStreamOptions (#880)

  • Rename CustomOptions to Custom
  • Add CustomPipeline to ChangeStreamOptions
Comment by Benji Rewis (Inactive) [ 21/Mar/22 ]

Here's a preliminary PR to add a new CustomPipeline option to ChangeStreamOptions https://github.com/mongodb/mongo-go-driver/pull/880

Generated at Thu Feb 08 08:38:21 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.