Skip to content

enable workers to poll only to specific workflow tasks #56

Open

Description

@n1ru4l

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

I am planning to have workers processes to register specific workflows based on service configuration (e.g. environment variables).

This would allow configuring pools of workers dedicated to specific workflows

For example:

  • one worker pool could be dedicated to a single critical workflow with high throughput and long running steps
  • another worker pool could handle the remaining, less frequent and not so critical, short workflows

Describe the solution you'd like

By default the worker should only poll workflows from the backend that match the task names defined on the instance.

Describe alternatives you've considered

The namespaceId could be abused for this, but it would not feel right and is very limited.

Additional context

none

Activity

  1. changed the title [-]enable workers to poll only to specific workflow types[/-] [+]enable workers to poll only to specific workflow tasks[/+] on Nov 22, 2025
  2. jamescmartinez commented on Nov 22, 2025

    @jamescmartinez
    Contributor

    Agreed.

  3. nathancahill commented on Nov 23, 2025

    @nathancahill
    Contributor

    Some prior art:

    Absurd uses the queue nomenclature where OW uses namespaceId which feels a bit more explicit: https://github.com/earendil-works/absurd

    Inngest uses environments with the env config key.

    Switching from namespace (vague) to a combination of env and queue could be an option?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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