How can Python Observe Changes to Mongodb's Oplog

Viewed 5318

I have multiple Python scripts writing to Mongodb using pyMongo. How can another Python script observe changes to a Mongo query and perform some function when the change occurs? mongodb is setup with oplog enabled.

4 Answers
Related