@Configuration(proxyBeanMethods=false) @AutoConfigureAfter(value=GcpPubSubAutoConfiguration.class) @ConditionalOnClass(value={reactor.core.publisher.Flux.class,PubSubSubscriberTemplate.class}) @ConditionalOnProperty(value={"spring.cloud.gcp.pubsub.reactive.enabled","spring.cloud.gcp.pubsub.enabled"}, matchIfMissing=true) public class GcpPubSubReactiveAutoConfiguration extends Object
Constructor and Description |
---|
GcpPubSubReactiveAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
PubSubReactiveFactory |
pubSubReactiveFactory(PubSubSubscriberTemplate subscriberTemplate,
Optional<reactor.core.scheduler.Scheduler> userProvidedScheduler) |
@Bean @ConditionalOnMissingBean public PubSubReactiveFactory pubSubReactiveFactory(PubSubSubscriberTemplate subscriberTemplate, @Qualifier(value="pubSubReactiveScheduler") Optional<reactor.core.scheduler.Scheduler> userProvidedScheduler)
Copyright © 2021. All rights reserved.