-
Type: New Feature
-
Resolution: Duplicate
-
Priority: Major - P3
-
Affects Version/s: 3.0.0
-
Component/s: API, Async, Query Operations
-
Labels:
I'm currently trying new async method of the new mongodb java driver.
Looking at the code, it's not possible to set "flags" on find query throught mongo collection as Find#addFlags is not expoted in the MongoView
{code=java}collection.find().withFlags(Tailable& AwaitData).asyncForEach(...);
the idea is to build a tailable cursor as in Reactive Mongo scala driver (see https://github.com/sgodbillon/reactivemongo-tailablecursor-demo )
Is it something that you plan to introduce in the 3.0.0 driver ?
If not, there is a way to achieve this ?
Regards
- duplicates
-
JAVA-1326 Introduce API for tailable cursors that doesn't break Iterator contract
- Closed