[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: |
|
||||
| Quarter: | FY24Q4 | ||||
| Documentation Changes Summary: | 1. What would you like to communicate to the user about this feature? |
||||
| 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. |