Difference b/t "publish.full.document.only" and "change.stream.full.document"?

Hi,
Can you share your knowledge in the difference between “publish.full.document.only” and “change.stream.full.document”?

I am having a difficult time to understand these two options?
I am not sure why I have to specify “publish.full.document.only=true” although I use “change.stream.full.document=updateLookup”

Thank you for your help in advance :slight_smile:

nvm. after testing, I got the difference.
For one who has the same question I have, let me put the output.

change.stream.full.document=true

{
“_id”: {
“$oid”: “61750cb68270b7e6ec5ba733”
},
“name”: “korea”,
“city”: “seoul”
}


change.stream.full.document=false
     {
   "_id": {
      "_data": "8261750CB6000000012B022C0100296E5A1004CA338B7809FF4C5598E8F3FDCCD0411C46645F6964006461750CB68270B7E6EC5BA7330004"
   },
   "operationType": "insert",
   "clusterTime": {
      "$timestamp": {
         "t": 1635060918,
         "i": 1
      }
   },
   "fullDocument": {
      "_id": {
         "$oid": "61750cb68270b7e6ec5ba733"
      },
      "name": "mlee",
      "city": "seoul"
   },
   "ns": {
      "db": "mlee-test",
      "coll": "dummy"
   },
   "documentKey": {
      "_id": {
         "$oid": "61750cb68270b7e6ec5ba733"
      }
   }
}

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.