@EachProperty(value="gcp.pubsub.publisher")
public class PublisherConfigurationProperties
extends java.lang.Object
Constructor and Description |
---|
PublisherConfigurationProperties(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
com.google.api.gax.batching.BatchingSettings.Builder |
getBatchingSettings()
Controls message publishing batch.
|
java.lang.String |
getExecutor() |
com.google.api.gax.batching.FlowControlSettings.Builder |
getFlowControlSettings()
Flow Control settings.
|
java.lang.String |
getName() |
com.google.api.gax.retrying.RetrySettings.Builder |
getRetrySettings()
Retry policies.
|
void |
setBatchingSettings(com.google.api.gax.batching.BatchingSettings.Builder batchingSettings)
Controls message publishing batch.
|
void |
setExecutor(java.lang.String executor) |
void |
setFlowControlSettings(com.google.api.gax.batching.FlowControlSettings.Builder flowControlSettings)
Flow Control settings.
|
void |
setRetrySettings(com.google.api.gax.retrying.RetrySettings.Builder retrySettings)
Retry policies.
|
public PublisherConfigurationProperties(@Parameter java.lang.String name)
public com.google.api.gax.retrying.RetrySettings.Builder getRetrySettings()
public void setRetrySettings(com.google.api.gax.retrying.RetrySettings.Builder retrySettings)
retrySettings
- retry settingspublic com.google.api.gax.batching.BatchingSettings.Builder getBatchingSettings()
public void setBatchingSettings(com.google.api.gax.batching.BatchingSettings.Builder batchingSettings)
batchingSettings
- batchingSettingspublic com.google.api.gax.batching.FlowControlSettings.Builder getFlowControlSettings()
public void setFlowControlSettings(com.google.api.gax.batching.FlowControlSettings.Builder flowControlSettings)
flowControlSettings
- flow control settingspublic java.lang.String getName()
public java.lang.String getExecutor()
public void setExecutor(java.lang.String executor)
executor
- name to be set