简体   繁体   中英

Does Beanstalkd support transient messages?

I would like to know if beanstalkd, the message-queue, supports transient message. A message put by a beanstalkc needs to have TTL (say few seconds) where if no-one reserves (fetches) that message then it should get auto-deleted from the queue. Does it support TTL? I found TTR (Time-To-Run) but that is different and associated with the JOB run time mgmt. Thanks in advance.

No, you have to do an explicit delete (either when it is reserved or buried)

Refer: https://github.com/beanstalkd/beanstalkd/blob/master/doc/protocol.txt#L82

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM