其他分享
首页 > 其他分享> > roket MQ 延迟消费

roket MQ 延迟消费

作者:互联网

发送端,执行Message对象的setDelayTimeLevel();

 

比如需要延迟10s 

message.setDelayTimeLevel(3);

 

默认延迟等级1:1s 2:5s 3:10s 4:30s 5:1m 6:2m 7:3m 8:4m 9:5m 10:6m 11:7m 12:8m 13:9m 14:10m 15:20m 16:30m 17:1h 18:2h

标签:9m,10m,7m,MQ,setDelayTimeLevel,10s,roket,延迟
来源: https://www.cnblogs.com/loveCrane/p/16426525.html