Created
March 3, 2023 14:47
-
-
Save kevinAlbs/ccaf7b2af36189d5f82dbab14cdff41c to your computer and use it in GitHub Desktop.
Sample change stream reply
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"cursor": { | |
"nextBatch": [ | |
{ | |
"_id": { | |
"_data": "826402082C000000022B042C0100296E5A1004F5EE0D4649F9441FBB3F8068DB145455463C6F7065726174696F6E54797065003C64656C6574650046646F63756D656E744B657900461E5F69640029000004" | |
}, | |
"operationType": "delete", | |
"clusterTime": { | |
"$timestamp": { | |
"t": 1677854764, | |
"i": 2 | |
} | |
}, | |
"wallTime": { | |
"$date": 1677854764408 | |
}, | |
"ns": { | |
"db": "db", | |
"coll": "coll" | |
}, | |
"documentKey": { | |
"_id": 0 | |
} | |
}, | |
{ | |
"_id": { | |
"_data": "826402082C000000032B042C0100296E5A1004F5EE0D4649F9441FBB3F8068DB145455463C6F7065726174696F6E54797065003C696E736572740046646F63756D656E744B657900461E5F69640029000004" | |
}, | |
"operationType": "insert", | |
"clusterTime": { | |
"$timestamp": { | |
"t": 1677854764, | |
"i": 3 | |
} | |
}, | |
"wallTime": { | |
"$date": 1677854764672 | |
}, | |
"fullDocument": { | |
"_id": 0 | |
}, | |
"ns": { | |
"db": "db", | |
"coll": "coll" | |
}, | |
"documentKey": { | |
"_id": 0 | |
} | |
}, | |
{ | |
"_id": { | |
"_data": "826402082C000000042B042C0100296E5A1004F5EE0D4649F9441FBB3F8068DB145455463C6F7065726174696F6E54797065003C64656C6574650046646F63756D656E744B657900461E5F69640029000004" | |
}, | |
"operationType": "delete", | |
"clusterTime": { | |
"$timestamp": { | |
"t": 1677854764, | |
"i": 4 | |
} | |
}, | |
"wallTime": { | |
"$date": 1677854764938 | |
}, | |
"ns": { | |
"db": "db", | |
"coll": "coll" | |
}, | |
"documentKey": { | |
"_id": 0 | |
} | |
}, | |
{ | |
"_id": { | |
"_data": "826402082D000000012B042C0100296E5A1004F5EE0D4649F9441FBB3F8068DB145455463C6F7065726174696F6E54797065003C696E736572740046646F63756D656E744B657900461E5F69640029000004" | |
}, | |
"operationType": "insert", | |
"clusterTime": { | |
"$timestamp": { | |
"t": 1677854765, | |
"i": 1 | |
} | |
}, | |
"wallTime": { | |
"$date": 1677854765202 | |
}, | |
"fullDocument": { | |
"_id": 0 | |
}, | |
"ns": { | |
"db": "db", | |
"coll": "coll" | |
}, | |
"documentKey": { | |
"_id": 0 | |
} | |
}, | |
{ | |
"_id": { | |
"_data": "826402082D000000022B042C0100296E5A1004F5EE0D4649F9441FBB3F8068DB145455463C6F7065726174696F6E54797065003C64656C6574650046646F63756D656E744B657900461E5F69640029000004" | |
}, | |
"operationType": "delete", | |
"clusterTime": { | |
"$timestamp": { | |
"t": 1677854765, | |
"i": 2 | |
} | |
}, | |
"wallTime": { | |
"$date": 1677854765467 | |
}, | |
"ns": { | |
"db": "db", | |
"coll": "coll" | |
}, | |
"documentKey": { | |
"_id": 0 | |
} | |
}, | |
{ | |
"_id": { | |
"_data": "826402082D000000032B042C0100296E5A1004F5EE0D4649F9441FBB3F8068DB145455463C6F7065726174696F6E54797065003C696E736572740046646F63756D656E744B657900461E5F69640029000004" | |
}, | |
"operationType": "insert", | |
"clusterTime": { | |
"$timestamp": { | |
"t": 1677854765, | |
"i": 3 | |
} | |
}, | |
"wallTime": { | |
"$date": 1677854765734 | |
}, | |
"fullDocument": { | |
"_id": 0 | |
}, | |
"ns": { | |
"db": "db", | |
"coll": "coll" | |
}, | |
"documentKey": { | |
"_id": 0 | |
} | |
}, | |
{ | |
"_id": { | |
"_data": "826402082E000000012B042C0100296E5A1004F5EE0D4649F9441FBB3F8068DB145455463C6F7065726174696F6E54797065003C64656C6574650046646F63756D656E744B657900461E5F69640029000004" | |
}, | |
"operationType": "delete", | |
"clusterTime": { | |
"$timestamp": { | |
"t": 1677854766, | |
"i": 1 | |
} | |
}, | |
"wallTime": { | |
"$date": 1677854766001 | |
}, | |
"ns": { | |
"db": "db", | |
"coll": "coll" | |
}, | |
"documentKey": { | |
"_id": 0 | |
} | |
}, | |
{ | |
"_id": { | |
"_data": "826402082E000000022B042C0100296E5A1004F5EE0D4649F9441FBB3F8068DB145455463C6F7065726174696F6E54797065003C696E736572740046646F63756D656E744B657900461E5F69640029000004" | |
}, | |
"operationType": "insert", | |
"clusterTime": { | |
"$timestamp": { | |
"t": 1677854766, | |
"i": 2 | |
} | |
}, | |
"wallTime": { | |
"$date": 1677854766268 | |
}, | |
"fullDocument": { | |
"_id": 0 | |
}, | |
"ns": { | |
"db": "db", | |
"coll": "coll" | |
}, | |
"documentKey": { | |
"_id": 0 | |
} | |
} | |
], | |
"postBatchResumeToken": { | |
"_data": "826402082E000000022B042C0100296E5A1004F5EE0D4649F9441FBB3F8068DB145455463C6F7065726174696F6E54797065003C696E736572740046646F63756D656E744B657900461E5F69640029000004" | |
}, | |
"id": 2803533088357388732, | |
"ns": "db.coll" | |
}, | |
"ok": 1.0, | |
"$clusterTime": { | |
"clusterTime": { | |
"$timestamp": { | |
"t": 1677854766, | |
"i": 2 | |
} | |
}, | |
"signature": { | |
"hash": { | |
"$binary": "AAAAAAAAAAAAAAAAAAAAAAAAAAA=", | |
"$type": "00" | |
}, | |
"keyId": 0 | |
} | |
}, | |
"operationTime": { | |
"$timestamp": { | |
"t": 1677854766, | |
"i": 2 | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment