Propagate the batch size in ChangeStreamPublisherImpl.withDocumentClass

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.3.0
    • Affects Version/s: None
    • Component/s: Reactive Streams
    • None
    • None
    • Fully Compatible
    • Not Needed
    • None
    • None
    • None
    • None
    • None
    • None

      BatchCursorFlux respects the batch size of its BatchCursorPublisher if any is specified (see BatchCursorFlux.calculateBatchSize). Currently the method ChangeStreamPublisherImpl.withDocumentClass creates a new BatchCursorPublisher but does not propagate its batch size (if specified) to the created BatchCursorPublisher.

      I discovered this while trying to run poc-change-streams.json (POC unified tests) with a reactive driver.

            Assignee:
            Valentin Kavalenka
            Reporter:
            Valentin Kavalenka
            None
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: