Uploaded image for project: 'Drivers'
  1. Drivers
  2. DRIVERS-682

Update change stream docs example for resume token access

    XMLWordPrintable

    Details

    • Type: Task
    • Status: In Progress
    • Priority: Major - P3
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 4.2 Compat Release
    • Component/s: None
    • Security Level: Public
    • Labels:
      None
    • # Replies:
      3
    • Last comment by Customer:
      true
    • SERVER fixVersion:
      4.2

      Description

      The spec change in DRIVERS-595 requires that drivers provide an API for exposing the current resume token, which may come from a change document or a postBatchResumeToken field. DRIVERS-634 builds upon that issue and adds more clarity around which value should be returned (and used for resuming).

      In DRIVERS-436, drivers added an example for accessing the resume token (example #3), which is published within https://docs.mongodb.com/manual/changeStreams/#resume-a-change-stream. This example should be updated to use whatever new API was introduced for 4.2 drivers in DRIVERS-595.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                jmikola Jeremy Mikola
                Participants:
                Last commenter:
                DB Eng PM Bot
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Days since reply:
                  40 weeks, 5 days ago
                  Date of 1st Reply: