contribsys / faktory_worker_ruby

Faktory worker for Ruby
GNU Lesser General Public License v3.0
214 stars 31 forks source link

Faktory worker with Kubernetes HPA: option to exit worker when the queue is empty? #80

Open motsu7 opened 9 months ago

motsu7 commented 9 months ago

I want to run my Faktory workers on a Kubernetes cluster.

The example at Fine Parallel Processing Using a Work Queue shows the worker exiting when the queue is empty.

Is there such an option in faktory-worker currently?

mperham commented 9 months ago

Not that I am aware of. That would be implemented separately by each worker package. I have not added it to Ruby or Go.