Class RocketMQConsumerProperties
java.lang.Object
com.alibaba.cloud.stream.binder.rocketmq.properties.RocketMQCommonProperties
com.alibaba.cloud.stream.binder.rocketmq.properties.RocketMQConsumerProperties
- All Implemented Interfaces:
Serializable
Extended consumer properties for RocketMQ binder.
- Author:
- Jim
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.rocketmq.common.consumer.ConsumeFromWhereintgetPull()intintintlonggetPush()voidsetAllocateMessageQueueStrategy(String allocateMessageQueueStrategy) setConsumeFromWhere(org.apache.rocketmq.common.consumer.ConsumeFromWhere consumeFromWhere) setConsumeMaxSpan(int consumeMaxSpan) setConsumeTimestamp(String consumeTimestamp) setMessageModel(String messageModel) setPullBatchSize(int pullBatchSize) setPullThresholdForQueue(int pullThresholdForQueue) setPullThresholdSizeForQueue(int pullThresholdSizeForQueue) setPullTimeDelayMillsWhenException(long pullTimeDelayMillsWhenException) voidvoidsetSubscription(String subscription) Methods inherited from class com.alibaba.cloud.stream.binder.rocketmq.properties.RocketMQCommonProperties
getAccessChannel, getAccessKey, getCustomizedTraceTopic, getEnabled, getEnableMsgTrace, getGroup, getHeartbeatBrokerInterval, getNameServer, getNamespace, getNamespaceV2, getPersistConsumerOffsetInterval, getPollNameServerInterval, getSecretKey, getUnitName, getUseTLS, getVipChannelEnabled, setAccessChannel, setAccessKey, setCustomizedTraceTopic, setEnabled, setEnableMsgTrace, setGroup, setHeartbeatBrokerInterval, setNameServer, setNamespace, setNamespaceV2, setPersistConsumerOffsetInterval, setPollNameServerInterval, setSecretKey, setUnitName, setUseTLS, setVipChannelEnabled
-
Constructor Details
-
RocketMQConsumerProperties
public RocketMQConsumerProperties()
-
-
Method Details
-
getMessageModel
-
setMessageModel
-
getAllocateMessageQueueStrategy
-
setAllocateMessageQueueStrategy
-
getSubscription
-
setSubscription
-
getPush
-
setPush
-
getPullTimeDelayMillsWhenException
public long getPullTimeDelayMillsWhenException() -
setPullTimeDelayMillsWhenException
public RocketMQConsumerProperties setPullTimeDelayMillsWhenException(long pullTimeDelayMillsWhenException) -
getConsumeFromWhere
public org.apache.rocketmq.common.consumer.ConsumeFromWhere getConsumeFromWhere() -
setConsumeFromWhere
public RocketMQConsumerProperties setConsumeFromWhere(org.apache.rocketmq.common.consumer.ConsumeFromWhere consumeFromWhere) -
getConsumeTimestamp
-
setConsumeTimestamp
-
getPullThresholdForQueue
public int getPullThresholdForQueue() -
setPullThresholdForQueue
-
getPullThresholdSizeForQueue
public int getPullThresholdSizeForQueue() -
setPullThresholdSizeForQueue
-
getPullBatchSize
public int getPullBatchSize() -
setPullBatchSize
-
getPull
-
setPull
-
getConsumeMaxSpan
public int getConsumeMaxSpan() -
setConsumeMaxSpan
-