Details
-
New Feature
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
Unknown
Description
Hello,
The aggregate operation load all results from the driver's cursor into a List which may result in a large number of in-memory objects.
There is no option outputType=DBCursor applies to aggregate, only to findAll.
So, adding this option is necessary to avoid loading all documents in memory.
The following headers will be added CamelMongoDbBatchSize to limits the number of elements returned per batch.
Farès
Attachments
Issue Links
- is related to
-
CAMEL-7378 camel-mongodb: Investigate returning DBCursor to enable streaming of large result sets
- Resolved
- links to