发送延迟消息时,不能发送超过三天的延迟消息 #6831
Replies: 2 comments 3 replies
-
Check if the configuration “ maxDelayTimeMills” has taken effect |
Beta Was this translation helpful? Give feedback.
1 reply
-
通过mqadmin工具,修改broker的timerMaxDelaySec参数(注意持续化,要保确保重启不变),一般不建议设置这么长的延迟消息。 |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
timer message illegal, the delay time should not be bigger than the max delay 259200000ms; or if set del msg, the delay time should be bigger than the current time

我取消了延迟等级后,发送延迟消息,发现超过三天的延迟消息创建不成功,原因是延迟时间不应大于最大延迟259200000ms,但是使用延迟等级就不会报这个问题。那么我应该怎么去解决这个问题?
broker的配置信息:
brokerClusterName = DefaultCluster
brokerName = broker-a
brokerId = 0
deleteWhen = 04
fileReservedTime = 2160
brokerRole = ASYNC_MASTER
flushDiskType = ASYNC_FLUSH
proxy的配置信息:

{
"rocketMQClusterName": "DefaultCluster",
"grpcServerPort":"8082",
"namesrvAddr":"192.168.1.141:9876",
"maxDelayTimeMills":"4,320,000,000",
"useDelayLevel":false
}
Beta Was this translation helpful? Give feedback.
All reactions