Class PulsarReactiveProperties.Consumer
java.lang.Object
org.springframework.pulsar.autoconfigure.PulsarReactiveProperties.Consumer
- Enclosing class:
- PulsarReactiveProperties
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.apache.pulsar.reactive.client.api.ReactiveMessageConsumerSpec
org.apache.pulsar.client.api.ConsumerCryptoFailureAction
org.apache.pulsar.client.api.DeadLetterPolicy
org.apache.pulsar.client.api.SubscriptionInitialPosition
org.apache.pulsar.client.api.SubscriptionMode
org.apache.pulsar.client.api.SubscriptionType
String[]
org.apache.pulsar.client.api.RegexSubscriptionMode
void
setAcknowledgeAsynchronously
(Boolean acknowledgeAsynchronously) void
setAcknowledgementsGroupTime
(Duration acknowledgementsGroupTime) void
setAcknowledgeSchedulerType
(PulsarReactiveProperties.SchedulerType acknowledgeSchedulerType) void
setAckTimeout
(Duration ackTimeout) void
setAckTimeoutTickTime
(Duration ackTimeoutTickTime) void
setAutoAckOldestChunkedMessageOnQueueFull
(Boolean autoAckOldestChunkedMessageOnQueueFull) void
setAutoUpdatePartitions
(Boolean autoUpdatePartitions) void
setAutoUpdatePartitionsInterval
(Duration autoUpdatePartitionsInterval) void
setBatchIndexAckEnabled
(Boolean batchIndexAckEnabled) void
setConsumerName
(String consumerName) void
setCryptoFailureAction
(org.apache.pulsar.client.api.ConsumerCryptoFailureAction cryptoFailureAction) void
setDeadLetterPolicy
(org.apache.pulsar.client.api.DeadLetterPolicy deadLetterPolicy) void
setExpireTimeOfIncompleteChunkedMessage
(Duration expireTimeOfIncompleteChunkedMessage) void
setMaxPendingChunkedMessage
(Integer maxPendingChunkedMessage) void
setMaxTotalReceiverQueueSizeAcrossPartitions
(Integer maxTotalReceiverQueueSizeAcrossPartitions) void
setNegativeAckRedeliveryDelay
(Duration negativeAckRedeliveryDelay) void
setPriorityLevel
(Integer priorityLevel) void
setProperties
(SortedMap<String, String> properties) void
setReadCompacted
(Boolean readCompacted) void
setReceiverQueueSize
(Integer receiverQueueSize) void
setReplicateSubscriptionState
(Boolean replicateSubscriptionState) void
setRetryLetterTopicEnable
(Boolean retryLetterTopicEnable) void
setSubscriptionInitialPosition
(org.apache.pulsar.client.api.SubscriptionInitialPosition subscriptionInitialPosition) void
setSubscriptionMode
(org.apache.pulsar.client.api.SubscriptionMode subscriptionMode) void
setSubscriptionName
(String subscriptionName) void
setSubscriptionProperties
(SortedMap<String, String> subscriptionProperties) void
setSubscriptionType
(org.apache.pulsar.client.api.SubscriptionType subscriptionType) void
void
setTopicsPattern
(Pattern topicsPattern) void
setTopicsPatternAutoDiscoveryPeriod
(Duration topicsPatternAutoDiscoveryPeriod) void
setTopicsPatternSubscriptionMode
(org.apache.pulsar.client.api.RegexSubscriptionMode topicsPatternSubscriptionMode)
-
Constructor Details
-
Consumer
public Consumer()
-
-
Method Details
-
getTopics
-
setTopics
-
getTopicsPattern
-
setTopicsPattern
-
getSubscriptionName
-
setSubscriptionName
-
getSubscriptionType
public org.apache.pulsar.client.api.SubscriptionType getSubscriptionType() -
setSubscriptionType
public void setSubscriptionType(org.apache.pulsar.client.api.SubscriptionType subscriptionType) -
getSubscriptionProperties
-
setSubscriptionProperties
-
getSubscriptionMode
public org.apache.pulsar.client.api.SubscriptionMode getSubscriptionMode() -
setSubscriptionMode
public void setSubscriptionMode(org.apache.pulsar.client.api.SubscriptionMode subscriptionMode) -
getReceiverQueueSize
-
setReceiverQueueSize
-
getAcknowledgementsGroupTime
-
setAcknowledgementsGroupTime
-
getAcknowledgeAsynchronously
-
setAcknowledgeAsynchronously
-
getAcknowledgeSchedulerType
-
setAcknowledgeSchedulerType
public void setAcknowledgeSchedulerType(PulsarReactiveProperties.SchedulerType acknowledgeSchedulerType) -
getNegativeAckRedeliveryDelay
-
setNegativeAckRedeliveryDelay
-
getDeadLetterPolicy
public org.apache.pulsar.client.api.DeadLetterPolicy getDeadLetterPolicy() -
setDeadLetterPolicy
public void setDeadLetterPolicy(org.apache.pulsar.client.api.DeadLetterPolicy deadLetterPolicy) -
getRetryLetterTopicEnable
-
setRetryLetterTopicEnable
-
getMaxTotalReceiverQueueSizeAcrossPartitions
-
setMaxTotalReceiverQueueSizeAcrossPartitions
public void setMaxTotalReceiverQueueSizeAcrossPartitions(Integer maxTotalReceiverQueueSizeAcrossPartitions) -
getConsumerName
-
setConsumerName
-
getAckTimeout
-
setAckTimeout
-
getAckTimeoutTickTime
-
setAckTimeoutTickTime
-
getPriorityLevel
-
setPriorityLevel
-
getCryptoFailureAction
public org.apache.pulsar.client.api.ConsumerCryptoFailureAction getCryptoFailureAction() -
setCryptoFailureAction
public void setCryptoFailureAction(org.apache.pulsar.client.api.ConsumerCryptoFailureAction cryptoFailureAction) -
getProperties
-
setProperties
-
getReadCompacted
-
setReadCompacted
-
getBatchIndexAckEnabled
-
setBatchIndexAckEnabled
-
getSubscriptionInitialPosition
public org.apache.pulsar.client.api.SubscriptionInitialPosition getSubscriptionInitialPosition() -
setSubscriptionInitialPosition
public void setSubscriptionInitialPosition(org.apache.pulsar.client.api.SubscriptionInitialPosition subscriptionInitialPosition) -
getTopicsPatternAutoDiscoveryPeriod
-
setTopicsPatternAutoDiscoveryPeriod
-
getTopicsPatternSubscriptionMode
public org.apache.pulsar.client.api.RegexSubscriptionMode getTopicsPatternSubscriptionMode() -
setTopicsPatternSubscriptionMode
public void setTopicsPatternSubscriptionMode(org.apache.pulsar.client.api.RegexSubscriptionMode topicsPatternSubscriptionMode) -
getAutoUpdatePartitions
-
setAutoUpdatePartitions
-
getAutoUpdatePartitionsInterval
-
setAutoUpdatePartitionsInterval
-
getReplicateSubscriptionState
-
setReplicateSubscriptionState
-
getAutoAckOldestChunkedMessageOnQueueFull
-
setAutoAckOldestChunkedMessageOnQueueFull
public void setAutoAckOldestChunkedMessageOnQueueFull(Boolean autoAckOldestChunkedMessageOnQueueFull) -
getMaxPendingChunkedMessage
-
setMaxPendingChunkedMessage
-
getExpireTimeOfIncompleteChunkedMessage
-
setExpireTimeOfIncompleteChunkedMessage
-
buildReactiveMessageConsumerSpec
public org.apache.pulsar.reactive.client.api.ReactiveMessageConsumerSpec buildReactiveMessageConsumerSpec()
-