[JAVA-2833] Add clusterTime property to static type for change stream documents Created: 17/Apr/18  Updated: 28/Oct/23  Resolved: 03/May/18

Status: Closed
Project: Java Driver
Component/s: Query Operations
Affects Version/s: None
Fix Version/s: 3.8.0

Type: New Feature Priority: Major - P3
Reporter: Rathi Gnanasekaran Assignee: Jeffrey Yemin
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by DRIVERS-471 Add clusterTime property to static ty... Closed
Epic Link: Java MongoDB 4.0 Support

 Description   

The Java driver provides a static type to represent the documents returned from a change stream. That static type must be updated with a property for the new-in-MongoDB-4.0 clusterTime field included in each change stream document.



 Comments   
Comment by Githook User [ 03/May/18 ]

Author:

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

Message: JAVA-2833: Add clusterTime property to ChangeStreamDocument

MongoDB 4.0 adds a clusterTime field to every change stream document,
so the driver now exposes it as a property to the statically typed
ChangeStreamDocument class
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/4b6a82cdabe591bc3f9a53fd5ab91e51d0c13228

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