[GODRIVER-2992] ChangeStream should expose a RemainingBatchLength method like Cursor does Created: 19/Sep/23  Updated: 13/Oct/23

Status: Backlog
Project: Go Driver
Component/s: Change Streams
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Unknown
Reporter: Craven Huynh Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Quarter: FY24Q4
Documentation Changes Summary:

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.



 Comments   
Comment by Dave Rolsky [ 13/Oct/23 ]

This is blocking some improvements to the Mongosync codebase that would make diagnosing BFs and HELP tickets easier. It'd be great if this could be scheduled.

Generated at Thu Feb 08 08:39:49 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.