MongoDb Streaming Out Inserted Data in Real-time (or near real-time)
MongoDb Streaming Out Inserted Data in Real-time (or near real-time) mongodb
mongodb
If you are writing to a capped collection (or collections), you can use a tailablecursor to push new data on the stream, or on a message queue from where it can be streamed out. However this will not work for a non-capped collection though.