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

ChangeStream should expose a RemainingBatchLength method like Cursor does

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 1.16.0, 1.15.1
    • Affects Version/s: None
    • Component/s: Change Streams
    • None
    • Minor Change
    • Not Needed
    • 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?

      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.

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

              Created:
              Updated:
              Resolved: