boolean enabled
String nameServer
String accessKey
String secretKey
String group
String namespace
String unitName
String accessChannel
int pollNameServerInterval
MQClientInstance.startScheduledTask(),eg:ScheduledTask
updateTopicRouteInfoFromNameServer.int heartbeatBrokerInterval
MQClientInstance.startScheduledTask(),eg:ScheduledTask
sendHeartbeatToAllBroker .int persistConsumerOffsetInterval
MQClientInstance.startScheduledTask(),eg:ScheduledTask
sendHeartbeatToAllBroker .boolean vipChannelEnabled
boolean useTLS
boolean enableMsgTrace
String customizedTraceTopic
String messageModel
String allocateMessageQueueStrategy
String subscription
tag1||tag2||tag3 ; sql: 'color'='blue' AND 'price'>100 .
Determines whether there are specific characters "||" in the expression to
determine how the message is filtered,tags or SQL.long pullTimeDelayMillsWhenException
org.apache.rocketmq.common.consumer.ConsumeFromWhere consumeFromWhere
CONSUME_FROM_LAST_OFFSET: consumer clients pick up where it
stopped previously. If it were a newly booting up consumer client, according aging
of the consumer group, there are two cases:
CONSUME_FROM_FIRST_OFFSET: Consumer client will start from
earliest messages available.CONSUME_FROM_TIMESTAMP: Consumer client will start from specified
timestamp, which means messages born prior to RocketMQConsumerProperties.consumeTimestamp will be
ignoredString consumeTimestamp
int pullThresholdForQueue
RocketMQConsumerProperties.pullBatchSize, the instantaneous value
may exceed the limit .int pullThresholdSizeForQueue
RocketMQConsumerProperties.pullBatchSize, the instantaneous
value may exceed the limit .
The size of a message only measured by message body, so it's not accurate
int pullBatchSize
int consumeMaxSpan
RocketMQConsumerProperties.Push push
RocketMQConsumerProperties.Pull pull
long pollTimeoutMillis
int pullThreadNums
long topicMetadataCheckIntervalMillis
long consumerTimeoutMillisWhenSuspend
String errAcknowledge
long pullThresholdForAll
boolean orderly
MessageListenerOrderly else if orderly if
false, using MessageListenerConcurrently.int suspendCurrentQueueTimeMillis
ConsumeMessageOrderlyService.processConsumeResult(java.util.List<org.apache.rocketmq.common.message.MessageExt>, org.apache.rocketmq.client.consumer.listener.ConsumeOrderlyStatus, org.apache.rocketmq.client.consumer.listener.ConsumeOrderlyContext, org.apache.rocketmq.client.impl.consumer.ConsumeMessageOrderlyService.ConsumeRequest).
seeConsumeOrderlyContext.getSuspendCurrentQueueTimeMillis().int maxReconsumeTimes
RocketMQConsumerProperties.Push.maxReconsumeTimes before success, it's be directed to a deletion queue
waiting.int delayLevelWhenNextConsume
ConsumeMessageConcurrentlyService.processConsumeResult(org.apache.rocketmq.client.consumer.listener.ConsumeConcurrentlyStatus, org.apache.rocketmq.client.consumer.listener.ConsumeConcurrentlyContext, org.apache.rocketmq.client.impl.consumer.ConsumeMessageConcurrentlyService.ConsumeRequest).
see ConsumeConcurrentlyContext.getDelayLevelWhenNextConsume().int pullThresholdForTopic
The value of pullThresholdForQueue will be overwrote and calculated
based on pullThresholdForTopic if it is't unlimited
For example, if the value of pullThresholdForTopic is 1000 and 10 message queues are assigned to this consumer, then pullThresholdForQueue will be set to 100.
int pullThresholdSizeForTopic
The value of pullThresholdSizeForQueue will be overwrote and calculated
based on pullThresholdSizeForTopic if it is't unlimited .
For example, if the value of pullThresholdSizeForTopic is 1000 MiB and 10 message queues are assigned to this consumer, then pullThresholdSizeForQueue will be set to 100 MiB .
long pullInterval
int consumeMessageBatchMaxSize
int sendMsgTimeout
int compressMsgBodyThreshold
int retryTimesWhenSendFailed
int retryTimesWhenSendAsyncFailed
boolean retryAnotherBroker
int maxMessageSize
String producerType
String sendType
String sendCallBack
String transactionListener
String messageQueueSelector
String errorMessageStrategy
String sendFailureChannel
String checkForbiddenHook
String sendMessageHook
Copyright © 2022 Pivotal Software, Inc.. All rights reserved.