Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-81894

Streams: Limit in-memory source operator message buffer by bytes and document size

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Atlas Streams
    • Fully Compatible
    • Sprint 33

      The in-memory source operator can have messages injected into it via `testOnlyInsert`, but we don't enforce any limits on how many messages can be buffered. We want to limit the buffered messages by byte size and number of documents, such that once we hit those limits, all subsequent inserts should be blocking until the buffered messages are processed by the executor loop.

            Assignee:
            aadesh.patel@mongodb.com Aadesh Patel (Inactive)
            Reporter:
            aadesh.patel@mongodb.com Aadesh Patel (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: