Uploaded image for project: 'Go Driver'
  1. Go Driver
  2. GODRIVER-2992

ChangeStream should expose a RemainingBatchLength method like Cursor does

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Unknown Unknown
    • None
    • None
    • Change Streams
    • None
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?

    Description

      Currently, the Go driver does not expose a RemainingBatchLength method for change streams like cursor does.

      A use-case for RemainingBatchLength is to measure network call latency within an application when RemainingBatchLength reaches 0.

      Attachments

        Activity

          People

            Unassigned Unassigned
            craven.huynh@mongodb.com Craven Huynh
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: