Class GcpPubSubReactiveAutoConfiguration
java.lang.Object
com.google.cloud.spring.autoconfigure.pubsub.GcpPubSubReactiveAutoConfiguration
@AutoConfiguration
@AutoConfigureAfter(GcpPubSubAutoConfiguration.class)
@ConditionalOnClass({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
Reactive Pub/Sub support autoconfiguration.
- Since:
- 1.2
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionpubSubReactiveFactory
(PubSubSubscriberTemplate subscriberTemplate, Optional<reactor.core.scheduler.Scheduler> userProvidedScheduler)
-
Constructor Details
-
GcpPubSubReactiveAutoConfiguration
public GcpPubSubReactiveAutoConfiguration()
-
-
Method Details
-
pubSubReactiveFactory
@Bean @ConditionalOnMissingBean public PubSubReactiveFactory pubSubReactiveFactory(PubSubSubscriberTemplate subscriberTemplate, @Qualifier("pubSubReactiveScheduler") Optional<reactor.core.scheduler.Scheduler> userProvidedScheduler)
-