JAVA-6346Investigating

Stop deriving batchSize from Reactive Streams, when batchSize is not set (Reactive Streams and Kotlin coroutine drivers)

h4. Summary When the user does not call {{batchSize\(\)}}, the Reactive Streams and Kotlin coroutine drivers derive the wire\-level {{batchSize}} of {{find}}/{{aggregate}} and every {{getMore}} from Reactive Streams demand \({{Subscription.request\(n\)}}\) in {{BatchCursorFlux.calculateBatchSize}}: The result depends on the consumer, not on anything the user configured: \* Kotlin coroutine {{collect}}/{{toList}}/{{first\(\)}} \({{asFlow\(\)}} with {{Channel.BUFFERED}}\): {{batchSize: 64}} on

Affected Versions
Versions known to exhibit this issue

No affected versions recorded.

Fixed Versions
Versions that include the fix

No fix available yet.

Components
Server components related to this issue
KotlinReactive Streams
Labels
Tags and classification

No labels assigned.