tarantool / jobqueue
A job queue backed by Tarantool.
Installs: 10 343
Dependents: 1
Suggesters: 0
Security: 0
Stars: 5
Watchers: 4
Forks: 1
Open Issues: 7
Requires
- php: ^7.1|^8
- ext-json: *
- amphp/parallel: ^1
- monolog/monolog: ^2.2
- psr/log: ^1
- rybakit/msgpack: ^0.8
- symfony/console: ^5.3
- symfony/event-dispatcher: ^5.3
- symfony/process: ^5.3
- tarantool/client: ^0.9
- tarantool/jobbuilder: ^0.3
- tarantool/queue: ^0.9
Requires (Dev)
- phpunit/phpunit: ^7.1|^8|^9
- pimple/pimple: ^3.4
- psr/container: ^1.0
- rybakit/arguments-resolver: ^0.6.2
Suggests
- psr/container: For using CallbackExecutor\ContainerCallbackResolver.
- rybakit/arguments-resolver: For using CallbackExecutor.
- symfony/process: For using ProcessExecutor.
This package is auto-updated.
Last update: 2024-10-24 06:40:34 UTC
README
Installation
The recommended way to install the library is through Composer:
composer require tarantool/jobqueue
Usage
./jobqueue
./jobqueue help run
Please check the JobServer application source code for a more complete usage example of this library.
Running a worker
./jobqueue run <queue-name> -f worker.log -l debug -e executors.php
Tests
docker run --name jobqueue -p3301:3301 -v `pwd`:/jobqueue tarantool/tarantool:1.7 tarantool /jobqueue/tests/Integration/queues.lua
vendor/bin/phpunit
License
The library is released under the MIT License. See the bundled LICENSE file for details.