@ConfigurationProperties(value="spring.cloud.gcp.pubsub") public class GcpPubSubProperties extends PubSubConfiguration implements CredentialsSupplier
PubSubConfiguration.Batching, PubSubConfiguration.FlowControl, PubSubConfiguration.Health, PubSubConfiguration.Publisher, PubSubConfiguration.Retry, PubSubConfiguration.Subscriber
DEFAULT_EXECUTOR_THREADS
Constructor and Description |
---|
GcpPubSubProperties() |
Modifier and Type | Method and Description |
---|---|
Credentials |
getCredentials()
Supplies credentials configuration.
|
String |
getEmulatorHost() |
int |
getKeepAliveIntervalMinutes() |
String |
getProjectId() |
void |
setEmulatorHost(String emulatorHost)
Set the emulator host.
|
void |
setKeepAliveIntervalMinutes(int keepAliveIntervalMinutes) |
void |
setProjectId(String projectId) |
computeMaxAckExtensionPeriod, computeParallelPullCount, computePullEndpoint, computeRetryableCodes, computeSubscriberFlowControlSettings, computeSubscriberRetrySettings, getHealth, getPublisher, getSubscriber, getSubscriber, getSubscription
public String getProjectId()
public void setProjectId(String projectId)
public Credentials getCredentials()
CredentialsSupplier
getCredentials
in interface CredentialsSupplier
public String getEmulatorHost()
public void setEmulatorHost(String emulatorHost)
emulatorHost
- the emulator host.public int getKeepAliveIntervalMinutes()
public void setKeepAliveIntervalMinutes(int keepAliveIntervalMinutes)
Copyright © 2021. All rights reserved.