Currently, it is not possible to purge and delete queues from the client API.
As a worker I have jobs that are handled by temporary queues (e.g. for enforcing jobs to be processed locally on a specific instance). I need to be able to delete these temporary queues after the batch finished.
Faktory support stated: "We need an API to remotely clear/delete a queue. Can you open a faktory issue? You could then put this call in a success callback job."
Note: Since the workers already have a heartbeat, it would be great to register a queue to be deleted automatically, if its worker dies, e.g. RegisterDeleteOnWorkerDisconnect(queue, wid).
Currently, it is not possible to purge and delete queues from the client API.
As a worker I have jobs that are handled by temporary queues (e.g. for enforcing jobs to be processed locally on a specific instance). I need to be able to delete these temporary queues after the batch finished.
Faktory support stated: "We need an API to remotely clear/delete a queue. Can you open a faktory issue? You could then put this call in a success callback job."
Note: Since the workers already have a heartbeat, it would be great to register a queue to be deleted automatically, if its worker dies, e.g.
RegisterDeleteOnWorkerDisconnect(queue, wid)
.