How to consume the output of Cosmos Change streams

96 views Asked by At

I am working with the change stream functionality of Cosmos for mongo, i am able to get the incremental data using this functionality. Below is one document which was extracted using change stream:

{_id=647ef4539a6aa91e4862e12b, id=821, stuid=33, Gender=female, Street=76, DOB=01-01-1990}

When i try to use the same document to insert data into Cosmos for mongo DB, it fails. I need to insert the data back into Cosmos for mongo. Is there any function that i can use to get this data back into a format which can be inserted back into Cosmos for mongo db.

0

There are 0 answers