How to unwatch/close change stream

Hi @Krishnamoorthy_Kalidoss

Yes I wrote that in a couple of minutes so it won’t be perfect and definitely not production quality, as it was intended to serve as an illustration to potential solutions. I was hoping to put forth some ideas for you to try on and modify to suit your workflow.

As we have agreed that this is a Python coding question and not a MongoDB question, I encourage you to ask for more direction and better code examples in programming sites such as StackOverflow.

Best regards
Kevin

2 Likes