Oplog update not returning full document

i’m working with oplog to help retrieve changes that have been made to collections in my database. but i noticed the update operation doesnt return full document. and i cant find anything online to help with this problem . please help out

You are not supposed to use the oplog to do that. The internal format of the oplog may change.

You are supposed to use change stream.

3 Likes

So bascially oplog cant return fullDocument ?

i was really looking at using oplog for my batch system. since change stream is more synonymous streaming pipeline .