Class PubSubBinderConfiguration
java.lang.Object
com.google.cloud.spring.stream.binder.pubsub.config.PubSubBinderConfiguration
@Configuration(proxyBeanMethods=false)
@ConditionalOnMissingBean(org.springframework.cloud.stream.binder.Binder.class)
@ConditionalOnBean({PubSubAdmin.class,PubSubTemplate.class})
@ConditionalOnProperty(value="spring.cloud.gcp.pubsub.binder.enabled",
matchIfMissing=true)
@EnableConfigurationProperties(PubSubExtendedBindingProperties.class)
@ImportRuntimeHints(PubSubConsumerPropertiesRuntimeHints.class)
public class PubSubBinderConfiguration
extends Object
Pub/Sub binder configuration.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionpubSubBinder
(PubSubChannelProvisioner pubSubChannelProvisioner, PubSubTemplate pubSubTemplate, PubSubExtendedBindingProperties pubSubExtendedBindingProperties, org.springframework.cloud.stream.config.ProducerMessageHandlerCustomizer<PubSubMessageHandler> producerCustomizer, org.springframework.cloud.stream.config.ConsumerEndpointCustomizer<PubSubInboundChannelAdapter> consumerCustomizer, HealthTrackerRegistry healthTrackerRegistry) pubSubChannelProvisioner
(PubSubAdmin pubSubAdmin)
-
Constructor Details
-
PubSubBinderConfiguration
public PubSubBinderConfiguration()
-
-
Method Details
-
pubSubChannelProvisioner
-
pubSubBinder
@Bean public PubSubMessageChannelBinder pubSubBinder(PubSubChannelProvisioner pubSubChannelProvisioner, PubSubTemplate pubSubTemplate, PubSubExtendedBindingProperties pubSubExtendedBindingProperties, @Nullable org.springframework.cloud.stream.config.ProducerMessageHandlerCustomizer<PubSubMessageHandler> producerCustomizer, @Nullable org.springframework.cloud.stream.config.ConsumerEndpointCustomizer<PubSubInboundChannelAdapter> consumerCustomizer, @Nullable HealthTrackerRegistry healthTrackerRegistry)
-