@ConfigurationProperties(value="spring.cloud.gcp.pubsub") public class GcpPubSubProperties extends Object implements CredentialsSupplier
Modifier and Type | Class and Description |
---|---|
static class |
GcpPubSubProperties.Batching
Batching settings.
|
static class |
GcpPubSubProperties.FlowControl
flow control settings.
|
static class |
GcpPubSubProperties.Publisher
Publisher settings.
|
static class |
GcpPubSubProperties.Retry
Retry settings.
|
static class |
GcpPubSubProperties.Subscriber
Subscriber settings.
|
Constructor and Description |
---|
GcpPubSubProperties() |
Modifier and Type | Method and Description |
---|---|
Credentials |
getCredentials()
Supplies credentials configuration.
|
String |
getEmulatorHost() |
int |
getKeepAliveIntervalMinutes() |
String |
getProjectId() |
GcpPubSubProperties.Publisher |
getPublisher() |
GcpPubSubProperties.Subscriber |
getSubscriber() |
void |
setEmulatorHost(String emulatorHost)
Set the emulator host.
|
void |
setKeepAliveIntervalMinutes(int keepAliveIntervalMinutes) |
void |
setProjectId(String projectId) |
public GcpPubSubProperties.Subscriber getSubscriber()
public GcpPubSubProperties.Publisher getPublisher()
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.