Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-2295

Buffer size used by GridFSBucket.downloadToAsyncOutputStream should be configurable

    • Type: Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: 3.3.0
    • Component/s: GridFS
    • None

      The current implementation uses a 4MB buffer to perform the read. It would be nice if this were configurable via an option as is the case in the rest of the API (you can control chunk size, batch size, and read/write buffer sizes on other methods).

            Assignee:
            ross@mongodb.com Ross Lawley
            Reporter:
            smfitts@gmail.com Sean Fitts
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: