开发者社区 > 云原生 > 消息队列 > 正文

请教一个RocketMQ相关问题,是不是 大于 259200000ms 就行?

请教一个RocketMQ相关问题: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",
timerMaxDelaySec=4320000 是不是 大于 259200000ms 就行?

展开
收起
-Feng、冯冯 2023-10-07 07:44:12 110 0
1 条回答
写回答
取消 提交回答
  • 在RocketMQ中,"the delay time should not be bigger than the max delay 259200000ms" 这行话的意思是,延迟时间不应该大于最大延迟时间259200000ms。

    "or if set del msg, the delay time should be bigger than the current time" 这行话的意思是,如果要设置删除消息,那么延迟时间应该大于当前时间。

    "timerMaxDelaySec=43200000" 这行话的意思是,最大延迟时间被设置为43200000秒(即43200000 * 1000 = 43200000000ms)。

    所以,如果你的延迟时间设置小于432000000ms,那么它是合法的。但是,如果你的延迟时间设置大于432000000ms,那么它会违反最大延迟时间限制,可能会导致一些问题。

    总的来说,你的延迟时间设置应该小于等于最大延迟时间432000000ms,这样才能保证RocketMQ的正常运行。

    2023-10-10 12:47:48
    赞同 展开评论 打赏

多个子产品线联合打造金融级高可用消息服务以及对物联网的原生支持,覆盖多行业。

热门讨论

热门文章

相关电子书

更多
低代码开发师(初级)实战教程 立即下载
冬季实战营第三期:MySQL数据库进阶实战 立即下载
阿里巴巴DevOps 最佳实践手册 立即下载