|
|
|
|
|
by mindingdata
2906 days ago
|
|
Others are sharing out of the box solutions. But I will say that many moons ago when I did actually write stuff for Mongo. The oplog was a god send. You can "tail" the oplog, and get every transaction in near real time. We used this for updating Elasticsearch indexes etc in what is basically realtime, without having to poll or modify existing code at all. |
|
[0] https://docs.mongodb.com/manual/changeStreams/