Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-4010

Propagate the batch size in ChangeStreamPublisherImpl.withDocumentClass

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.3.0
    • Component/s: Reactive Streams
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Documentation Changes:
      Not Needed

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              valentin.kovalenko Valentin Kavalenka
              Reporter:
              valentin.kovalenko Valentin Kavalenka
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: