[JAVA-4468] Change streams support for user-facing PIT pre- and post-images Created: 02/Feb/22  Updated: 28/Oct/23  Resolved: 28/Apr/22

Status: Closed
Project: Java Driver
Component/s: Change Streams
Affects Version/s: None
Fix Version/s: 4.7.0

Type: New Feature Priority: Major - P3
Reporter: PM Bot Assignee: Jeffrey Yemin
Resolution: Fixed Votes: 0
Labels: QP-priority, size-small
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by KAFKA-308 Source connector support for pre/post... Closed
Documented
Issue split
split from DRIVERS-1915 Change streams support for user-facin... Closed
Server Compat: 6.0
Quarter: FY23Q1
Upstream Changes Summary:

DRIVERS-1915:
Change stream watch helpers now accept "whenAvailable" and "required" for the fullDocument option. Additionally, a new fullDocumentBeforeChange option is introduced, which accepts "whenAvailable" and "required". Change events may now include a fullDocumentBeforeChange response field.

The create and collMod commands now support a changeStreamPreAndPostImages option that accepts: {enabled: <boolean>}. The listCollections command will also report changeStreamPreAndPostImages (if set) when returning full collection info.

Drivers should sync unified change stream tests with 8978899.

Note: testing may require starting mongod with --setParameter featureFlagChangeStreamPreAndPostImages=true if the "latest" server build does not include SERVER-52282.

Documentation Changes: Needed

 Description   

This ticket was split from DRIVERS-1915, please see that ticket for a detailed description.



 Comments   
Comment by Githook User [ 28/Apr/22 ]

Author:

{'name': 'Jeff Yemin', 'email': 'jeff.yemin@mongodb.com', 'username': 'jyemin'}

Message: Enhance pre-and post-image support for change streams (#926)

Change stream watch helpers now accept "whenAvailable" and "required" for the fullDocument option.
Additionally, a new fullDocumentBeforeChange option is introduced, which accepts "whenAvailable" and
"required". Change events may now include a "fullDocumentBeforeChange" response field.

JAVA-4468
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/3bbad8816dfda49d425832c3dd100c1c63ccf271

Comment by PM Bot [ 02/Feb/22 ]

If you are not logged in, you can view the tickets in this epic by following this link.

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