-
Type:
New Feature
-
Resolution: Done
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: Async, Query Operations
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Currently there is no way to pause the firehose of documents returned by asynchronous iteration of a cursor.
One possibility is to extend MongoFuture with MongoCursorFuture, and add appropriate methods there to implement back pressure:
public interface MongoCursorFuture extends MongoFuture<Void> { void requestMore(int howMany); }
*Update*
Should follow the http://www.reactive-streams.org/ spec once 0.4 is out of milestone
- related to
-
JAVA-1259 Ensure Async cursors can be cancelled
-
- Closed
-
There are no Sub-Tasks for this issue.