machinery
machinery copied to clipboard
Get connected workers
Is there a way to get all connected workers to the broker? I couldn't find anything in the API documentation.
What is the use case that you want to get this information? As me know, there is no such api.
What is the use case that you want to get this information? As me know, there is no such api.
I'm trying to distribute a third party tool, which natively supports distribution via sharding. However, to achieve this I need to know how many workers are available.
My current solution is to create my own heartbeat with expiring keys in Redis or use a AMQP broker and list all consumers for the queue. Ideally a native API would be nice.