mher / flower

Real-time monitor and web admin for Celery distributed task queue
https://flower.readthedocs.io
Other
6.5k stars 1.09k forks source link

Publish/Subscribe pattern with Flower ? #1332

Open benjaminh opened 1 year ago

benjaminh commented 1 year ago

Is your feature request related to a problem? Please describe.

I wonder if the publish/subscribe pattern is in the range of Flower features ?

My use case includes communication from a frontend web application to Flower API so I can get the list of pending/success/failed tasks. Now I'm trying to refresh the list when a task has finished or failed. And I would like to avoid such things as setInterval() methods on JS side. Did anybody already try to implement such message broadcast ? Or should I rather look into Django channels and websockets ?

Describe the solution you'd like

Some sort of pub/sub pattern attached to the Flower REST API. I read on other issues that websocket was removed from Flower code, so I would like to know if we can expect this pub/sub pattern in Flower in future releases or if this is definitely not on the development roadmap ?