-
Type: New Feature
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Change Streams
-
None
Listening to changestream on a database for a collection rename event returns this output:
ChangeStreamDocument{resumeToken={"_data": "825CABD8F6000000012B022C0100296E5A1004A1D1648D793640C68477FB35AC9554E904"}, namespace=test.test, fullDocument=null, documentKey=null, clusterTime=Timestamp{value=6677669423580446721, seconds=1554766070, inc=1}, operationType=OperationType{value='rename'}, updateDescription=null}
Note that the returned ChangeStreamDocument returned is missing the to field, which is expected to exist (as mentioned in the Change event documentation).
This was tested using the Java driver 3.10.1
- is related to
-
JAVA-2966 Support dropDatabase and rename operation types for changestreams
- Closed