Subject: [mongodb-user] Re: Streaming new records



Is there a better way then just polling them?

Hi Boas,
You could use tailable cursors on MongoDB’s OpLog for Publish-Subscribe type of data flow.
See also Blog: Tailing the MongoDB OpLog on Sharded Clusters for more information.

Alternatively, depending on your use case see MongoDB Stitch Push Notifications Services.
Also worth mentioning that in the upcoming MongoDB v3.6 there will be a new event notification API, see Blog: New Driver Features for MongoDB 3.6

Regards,
Wan.

--
You received this message because you are subscribed to the Google Groups "mongodb-user"
group.
 
For other MongoDB technical support options, see: https://docs.mongodb.com/manual/support/
---
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send email to [email protected].
Visit this group at
b-user">https://groups.google.com/group/mongodb-user
.
To view this discussion on the web visit https://groups.google.com/d/msgid/mongodb-user/582df907-346a-4167-b158-907a668fb71a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



Programming list archiving by: Enterprise Git Hosting