draft: Add an optional REST Controller for Celery
- Feb 19, 2025
-
-
Nicolas Dandrimont authored
This adds a Flask-based remote control for Celery as an extra bootstep that is enabled by the Celery consumer blueprint (when the Celery worker is started), when the `rest_controller` flag is enabled in the Celery config. This remote-control enables the same operations as the `celery inspect` and `celery control` protocols, as GET and POST endpoints respectively.
-
Nicolas Dandrimont authored
When we pull the config from the yaml file, we set it as configuration rather than "default" configuration, which allows other components (e.g. a custom bootstep) to set defaults, that can still properly be overridden by the yaml config.
-