@Configuration(proxyBeanMethods=false) @ConditionalOnProperty(prefix="spring.cloud.gcp.pubsub", name="emulator-host") @AutoConfigureBefore(value=GcpPubSubAutoConfiguration.class) @EnableConfigurationProperties(value=GcpPubSubProperties.class) public class GcpPubSubEmulatorAutoConfiguration extends Object
spring.cloud.gcp.pubsub.emulator-host
is set, spring stream will connect
to a running pub/sub emulator.Constructor and Description |
---|
GcpPubSubEmulatorAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
com.google.api.gax.rpc.TransportChannelProvider |
transportChannelProvider(GcpPubSubProperties gcpPubSubProperties) |
@Bean(name={"subscriberTransportChannelProvider","publisherTransportChannelProvider"}) @ConditionalOnMissingBean(name={"subscriberTransportChannelProvider","publisherTransportChannelProvider"}) public com.google.api.gax.rpc.TransportChannelProvider transportChannelProvider(GcpPubSubProperties gcpPubSubProperties)
Copyright © 2020 Pivotal Software, Inc.. All rights reserved.