flowpack/jobqueue-beanstalkd

Implements concrete Queue for the beanstalkd work queue. Requires the packages flowpack/jobqueue-common and pda/pheanstalk package to be installed.

Installs: 21 593

Dependents: 0

Suggesters: 1

Security: 0

Stars: 6

Watchers: 7

Forks: 7

Open Issues: 0

Type:neos-package

4.0.1 2018-06-23 06:41 UTC

This package is auto-updated.

Last update: 2024-11-13 10:16:36 UTC


README

A job queue backend for the Flowpack.JobQueue.Common package based on beanstalkd.

Usage

Install the package using composer:

composer require flowpack/jobqueue-beanstalkd

If not already installed, that will fetch its requirements, namely jobqueue-common and pda/pheanstalk. NOTE: This package needs a running beanstalkd server

Now the queue can be configured like this:

Flowpack:
  JobQueue:
    Common:
      queues:
        'some-queue':
          className: 'Flowpack\JobQueue\Beanstalkd\Queue\BeanstalkdQueue'
          executeIsolated: true
          options:
            client:
              host: 127.0.0.11
              port: 11301
            defaultTimeout: 50
          releaseOptions:
            priority: 512
            delay: 120

Specific options

The BeanstalkdQueue supports following options:

Submit options

Additional options supported by JobManager::queue(), BeanstalkdQueue::submit() and the Job\Defer annotation:

Release options

Additional options to be specified via releaseOptions:

License

This package is licensed under the MIT license

Contributions

Pull-Requests are more than welcome. Make sure to read the Code Of Conduct.