{"id":26234888,"url":"https://github.com/flowpack/jobqueue-beanstalkd","last_synced_at":"2025-04-22T14:52:56.311Z","repository":{"id":56992705,"uuid":"45605025","full_name":"Flowpack/jobqueue-beanstalkd","owner":"Flowpack","description":" A job queue backend for the Flow framework, based on Beanstalkd","archived":false,"fork":false,"pushed_at":"2024-03-13T08:50:15.000Z","size":47,"stargazers_count":6,"open_issues_count":0,"forks_count":7,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-04-14T19:17:22.712Z","etag":null,"topics":["beanstalkd","flowframework","jobqueue","neoscms"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Flowpack.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-11-05T10:42:56.000Z","updated_at":"2024-03-13T08:50:19.000Z","dependencies_parsed_at":"2024-06-21T17:52:59.593Z","dependency_job_id":"aa9e3c5d-ac84-4046-a53c-9436c5b84634","html_url":"https://github.com/Flowpack/jobqueue-beanstalkd","commit_stats":{"total_commits":48,"total_committers":9,"mean_commits":5.333333333333333,"dds":0.5,"last_synced_commit":"13338e2649edae23d47f0f117ab32a3d956cd63a"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Flowpack%2Fjobqueue-beanstalkd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Flowpack%2Fjobqueue-beanstalkd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Flowpack%2Fjobqueue-beanstalkd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Flowpack%2Fjobqueue-beanstalkd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Flowpack","download_url":"https://codeload.github.com/Flowpack/jobqueue-beanstalkd/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250263669,"owners_count":21401927,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["beanstalkd","flowframework","jobqueue","neoscms"],"created_at":"2025-03-13T02:29:49.792Z","updated_at":"2025-04-22T14:52:56.293Z","avatar_url":"https://github.com/Flowpack.png","language":"PHP","readme":"# Flowpack.JobQueue.Beanstalkd\n\nA job queue backend for the [Flowpack.JobQueue.Common](https://github.com/Flowpack/jobqueue-common) package based on [beanstalkd](http://kr.github.io/beanstalkd/).\n\n## Usage\n\nInstall the package using composer:\n\n```\ncomposer require flowpack/jobqueue-beanstalkd\n```\n\nIf not already installed, that will fetch its requirements, namely `jobqueue-common` and `pda/pheanstalk`.\n*NOTE:* This package needs a running [beanstalkd](http://kr.github.io/beanstalkd/) server\n\nNow the queue can be configured like this:\n\n```yaml\nFlowpack:\n  JobQueue:\n    Common:\n      queues:\n        'some-queue':\n          className: 'Flowpack\\JobQueue\\Beanstalkd\\Queue\\BeanstalkdQueue'\n          executeIsolated: true\n          options:\n            client:\n              host: 127.0.0.11\n              port: 11301\n            defaultTimeout: 50\n          releaseOptions:\n            priority: 512\n            delay: 120\n```\n\n## Specific options\n\nThe `BeanstalkdQueue` supports following options:\n\n| Option                  | Type    | Default                                  | Description                              |\n| ----------------------- |---------| ----------------------------------------:| ---------------------------------------- |\n| defaultTimeout          | integer | 60                                       | Number of seconds new messages are waited for before a timeout occurs (This is overridden by a \"timeout\" argument in the `waitAndTake()` and `waitAndReserve()` methods |\n| client                  | array   | ['host' =\u003e '127.0.0.1', 'port' =\u003e 11300] | Beanstalkd connection settings |\n\n### Submit options\n\nAdditional options supported by `JobManager::queue()`, `BeanstalkdQueue::submit()` and the `Job\\Defer` annotation:\n\n| Option                  | Type    | Default          | Description                              |\n| ----------------------- |---------| ----------------:| ---------------------------------------- |\n| delay                   | integer | 0                | Number of seconds before a message is marked \"ready\" after submission. This can be useful to prevent premature execution of jobs (i.e. before entites are persisted) |\n| priority                | integer | 1024             | Priority of the message. most urgent: 0, least urgent: 4294967295 |\n| ttr                     | integer | 60               | Number of seconds a message is allowed to be reserved before it is released, aborted or finished. NOTE: This option is not available in the *releaseOptions*! |\n\n### Release options\n\nAdditional options to be specified via `releaseOptions`: \n\n| Option                  | Type    | Default          | Description                              |\n| ----------------------- |---------| ----------------:| ---------------------------------------- |\n| delay                   | integer | 0                | Number of seconds before a message is marked \"ready\" after it has been released. |\n| priority                | integer | 1024             | Priority of the message. most urgent: 0, least urgent: 4294967295 |\n\n## License\n\nThis package is licensed under the MIT license\n\n## Contributions\n\nPull-Requests are more than welcome. Make sure to read the [Code Of Conduct](CodeOfConduct.rst).","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflowpack%2Fjobqueue-beanstalkd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflowpack%2Fjobqueue-beanstalkd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflowpack%2Fjobqueue-beanstalkd/lists"}