Skip to content
Snippets Groups Projects

draft: Add an optional REST Controller for Celery

  1. Feb 19, 2025
    • Nicolas Dandrimont's avatar
      Add an optional REST Controller for Celery · cf9a108f
      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.
      cf9a108f
    • Nicolas Dandrimont's avatar
      celery_backend: set yaml Celery config at the proper level · deaebf01
      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.
      deaebf01
Loading