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

Buffer size used by GridFSBucket.downloadToAsyncOutputStream should be configurable

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Won't Fix
    • Affects Version/s: 3.3.0
    • Fix Version/s: None
    • Component/s: GridFS
    • Labels:
      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

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: