Introduce ChangeStreamReaderBuilder and ChangeStreamShardTargeter interfaces

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.2.0-rc0
    • Affects Version/s: None
    • Component/s: Change streams
    • None
    • Query Execution
    • Fully Compatible
    • QE 2025-06-23, QE 2025-07-07
    • None
    • 3
    • TBD
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      All interfaces are documented at https://docs.google.com/document/d/1aZxeZ2FIh9Sn1KYotp-ac4G2AjzrT4hDKkChe4hiFpM/edit?pli=1&tab=t.0#heading=h.5tiwgvviizy5. 

      Included in scope:

      1. ChangeStreamReaderBuilder interface
      2. ChangeStreamShardTargeter interface
      3. Class ChangeStream with structures needed to implement the interface (methods getChangeStreamType() etc.)
      4. Type ChangeStreamType.
      5. ChangeStreamReaderContext interface.
      6. Type ShardTargeterDecision.
      7. ChangeStreamReaderBuilder programmable mock implementations (to support testing of _internalChangeStreamHandleTopologyChangeV2 stage).

            Assignee:
            Jan Steemann
            Reporter:
            Mindaugas Malinauskas
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: