This repository was archived by the owner on Jan 19, 2022. It is now read-only.
This repository was archived by the owner on Jan 19, 2022. It is now read-only.
Consider hiding pubSubReactiveScheduler in Pub/Sub autoconfig #1997
Closed
Description
The scheduler is a cached scheduler, which implements a Supplier
. Since Spring Cloud Stream autodiscovers functional beans, it always finds pubSubReactiveScheduler
, meaning that any SCS app that uses the Cloud Pub/Sub binder will not be able to take advantage of autodiscovery and will have to specify spring.cloud.function.definition
property to disambiguate.