问题:遇到发送延时消息超过最大配置,提示错误,可能是以下两种之一:
SendDelay MQ send msg fail, topic:topic_resource_expiration_SMS, body:{"resource_type":"instance","resource_id":35600,"release_time":1736403800}, keys:[], tag:, err:CODE: 13, DESC: 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
SendDelay MQ send msg fail, topic:topic_resource_expiration_SMS, body:{"resource_type":"instance","resource_id":23490,"release_time":1733622738}, keys:[], tag:, err:CODE: ILLEGAL_DELIVERY_TIME, MESSAGE: the max delay time of message is too large, max is 86400000
解法
conf/broker.conf
# 延时消息最大延时长度 370天
timerMaxDelaySec = 31968000
**粗体** _斜体_ [链接](http://example.com) `代码` - 列表 > 引用
。你还可以使用@
来通知其他用户。