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

Buffer size used by GridFSBucket.downloadToAsyncOutputStream should be configurable

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Icon: Minor - P4 Minor - P4
    • None
    • 3.3.0
    • GridFS
    • None

    Description

      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).

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: