@ConfigurationProperties(prefix="pulsar") public class PulsarProperties extends Object
| 构造器和说明 |
|---|
PulsarProperties() |
public String getServiceUrl()
public void setServiceUrl(String serviceUrl)
public String getListenerName()
public void setListenerName(String listenerName)
public String getJwtKey()
public void setJwtKey(String jwtKey)
public Integer getIoThreads()
public void setIoThreads(Integer ioThreads)
public Integer getListenerThreads()
public void setListenerThreads(Integer listenerThreads)
public boolean isEnableTcpNoDelay()
public void setEnableTcpNoDelay(boolean enableTcpNoDelay)
public Integer getKeepAliveIntervalSec()
public void setKeepAliveIntervalSec(Integer keepAliveIntervalSec)
public Integer getConnectionTimeoutSec()
public void setConnectionTimeoutSec(Integer connectionTimeoutSec)
public Integer getOperationTimeoutSec()
public void setOperationTimeoutSec(Integer operationTimeoutSec)
public Integer getStartingBackoffIntervalMs()
public void setStartingBackoffIntervalMs(Integer startingBackoffIntervalMs)
public Integer getMaxBackoffIntervalSec()
public void setMaxBackoffIntervalSec(Integer maxBackoffIntervalSec)
public Boolean getEnableBatching()
public void setEnableBatching(Boolean enableBatching)
public Integer getCompressionType()
public void setCompressionType(Integer compressionType)
public Integer getBatchingMaxPublishDelay()
public void setBatchingMaxPublishDelay(Integer batchingMaxPublishDelay)
public Integer getSendTimeout()
public void setSendTimeout(Integer sendTimeout)
public Integer getBatchingMaxMessages()
public void setBatchingMaxMessages(Integer batchingMaxMessages)
public Integer getMaxPendingMessages()
public void setMaxPendingMessages(Integer maxPendingMessages)
public Boolean getBlockIfQueueFull()
public void setBlockIfQueueFull(Boolean blockIfQueueFull)
public Integer getRoundRobinRouterBatchingPartitionSwitchFrequency()
public void setRoundRobinRouterBatchingPartitionSwitchFrequency(Integer roundRobinRouterBatchingPartitionSwitchFrequency)
public Integer getBatcherBuilder()
public void setBatcherBuilder(Integer batcherBuilder)
public String getSubscription()
public void setSubscription(String subscription)
public Integer getSubscriptionType()
public void setSubscriptionType(Integer subscriptionType)
public Integer getSubscriptionInitialPosition()
public void setSubscriptionInitialPosition(Integer subscriptionInitialPosition)
public Integer getNegativeAckRedeliveryDelay()
public void setNegativeAckRedeliveryDelay(Integer negativeAckRedeliveryDelay)
Copyright © 2021. All rights reserved.