Skip to content

[feature] Queue jobs from a project to workers on another project #107

@olaurendeau

Description

@olaurendeau

Hello !

We use your awesome bundle in many of our projects to handle gearman tasks an jobs and really appreciate it.

Lately we needed to queue a job from a symfony project and have the work done by a worker located on another symfony project.

We discovered that there is a check in GearmanClient:L193 that throw a JobNotFoundException when we try to enqueue the job.

So we made a work-around on our project, overloading GearmanClient with our own one.

We could find some time to implement this feature, so if you think it could be useful, could you point us which solution should be the most appropriated.

  • Simply remove use of getJob() on enqueue
  • Have a parameter in config.yml allowing to use workers from others project
  • Setup workers from other project in config.yml
  • ...

Thanks !

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions