Skip to content

Allow running scheduler and server without worker #1737

@mccormickt

Description

@mccormickt

Feature Request

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

The current arguments to start only allow you to run the server or worker individually, the server and scheduler together, or all components together. You cannot run the scheduler and server together without the worker. I would think this could be a common pattern to scale workers horizontally while using a single server + scheduler to dispatch them work and the restriction doesn't seem intentional as far as I can tell.

Describe the solution you'd like

Separation of CLI arguments to the start command to allow for all combinations of the components - server, worker, and scheduler - to be able to run together.

Describe alternatives you've considered

We've implemented this with individual CLI arguments for start, deprecating the --server-and-worker arg. Since there is also a scheduler subcommand, perhaps a more holistic change could address that as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions