Class PubSubConfiguration.Subscriber
java.lang.Object
com.google.cloud.spring.pubsub.core.PubSubConfiguration.Subscriber
- Enclosing class:
- PubSubConfiguration
Subscriber settings.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
getRetry()
com.google.api.gax.rpc.StatusCode.Code[]
void
setExecutorThreads
(int executorThreads) Set the number of executor threads.void
setFullyQualifiedName
(String fullyQualifiedName) void
setMaxAckExtensionPeriod
(Long maxAckExtensionPeriod) void
setMaxAcknowledgementThreads
(int maxAcknowledgementThreads) void
setMaxDurationPerAckExtension
(Long maxDurationPerAckExtension) void
setMinDurationPerAckExtension
(Long minDurationPerAckExtension) void
setParallelPullCount
(Integer parallelPullCount) void
setPullEndpoint
(String pullEndpoint) void
setRetryableCodes
(com.google.api.gax.rpc.StatusCode.Code[] retryableCodes)
-
Constructor Details
-
Subscriber
public Subscriber()
-
-
Method Details
-
getFullyQualifiedName
-
setFullyQualifiedName
-
getRetry
-
getRetryableCodes
public com.google.api.gax.rpc.StatusCode.Code[] getRetryableCodes() -
setRetryableCodes
public void setRetryableCodes(com.google.api.gax.rpc.StatusCode.Code[] retryableCodes) -
getFlowControl
-
getPullEndpoint
-
setPullEndpoint
-
getMaxAckExtensionPeriod
-
setMaxAckExtensionPeriod
-
getMinDurationPerAckExtension
-
setMinDurationPerAckExtension
-
getMaxDurationPerAckExtension
-
setMaxDurationPerAckExtension
-
getParallelPullCount
-
setParallelPullCount
-
getExecutorThreads
-
setExecutorThreads
public void setExecutorThreads(int executorThreads) Set the number of executor threads.- Parameters:
executorThreads
- the number of threads
-
getMaxAcknowledgementThreads
public int getMaxAcknowledgementThreads() -
setMaxAcknowledgementThreads
public void setMaxAcknowledgementThreads(int maxAcknowledgementThreads)
-