can I set the validity period when I first contact nsq,nsq to publish a message?
and subscribers have not consumed messages all the time. Can you set the validity period of messages like redis?
can I set the validity period when I first contact nsq,nsq to publish a message?
and subscribers have not consumed messages all the time. Can you set the validity period of messages like redis?
nsq has no plans to support this feature for the time being. In my opinion, you can record the timestamp of the message and judge whether it is valid when the consumer consumes. This is in line with the basic semantics of the message queue, which is only responsible for delivering the message as a middleware. It is not responsible for processing messages (such as deletion). For more information on
, please see https://github.com/nsqio/nsq/.
Previous: Encountered a link jump problem in react
Next: Mui manually returning the scroll bar to the top triggers a pull-up load