Change streams allow applications to access real-time data changes without the complexity and risk of tailing the oplog . Applications can use change streams to subscribe to all data changes on a single collection, a database, or an entire deployment, and immediately react to them.
What is MongoDB change stream?
Change streams allow applications to access real-time data changes without the complexity and risk of tailing the oplog . Applications can use change streams to subscribe to all data changes on a single collection, a database, or an entire deployment, and immediately react to them.