nadberezny opened a new pull request, #41906: URL: https://github.com/apache/beam/pull/41906
`PubsubUnboundedSource` hardcodes the readers per split (`SCALE_OUT = 4`) and the cap on unacked messages per reader (`MAX_IN_FLIGHT = 20000`). The right values depend on the client and the checkpoint interval. For example, a custom `PubsubClientFactory` that doesn't block on pull gains nothing from extra readers. This adds the `PubsubOptions` settings `pubsubReadScaleOut` and `pubsubReadMaxInFlight`. They default to the current values, so nothing changes unless you set them. Tested in `PubsubUnboundedSourceTest`. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
