g41797 / queue-pulsar
Apache Pulsar 的 Yii 队列适配器
v0.0.1
2024-06-09 09:40 UTC
Requires
- php: >=8.2
- ikilobyte/pulsar-client-php: ^1.3.2
- ramsey/uuid: ^4.7
- yiisoft/factory: ^1.0
- yiisoft/friendly-exception: ^1.0
- yiisoft/queue: dev-master
Requires (Dev)
- maglnet/composer-require-checker: ^4.7
- phpunit/phpunit: ^10.5
- rector/rector: ^1.0.3
- roave/infection-static-analysis-plugin: ^1.34
- spatie/phpunit-watcher: ^1.23
- vimeo/psalm: ^5.16
- yiisoft/test-support: ^3.0
This package is auto-updated.
Last update: 2024-09-10 01:03:56 UTC
README
描述
Yii3 队列适配器 for Apache Pulsar 是 Yii3 队列适配器系列中的新适配器。[了解更多](https://github.com/yiisoft/queue/blob/master/docs/guide/en/adapter-list.md)
基于 pulsar-client-php 库实现的适配器。
要求
- PHP 8.2 或更高版本。
安装
可以使用 composer 安装此包
composer require g41797/queue-pulsar
通用用法
- 作为 Yii3 队列框架 的一部分
- 独立使用
限制
// Push a job into the queue and get a message ID. $id = $queue->push(new SomeJob()); // Get job status. $status = $queue->status($id);
不支持。
许可
Yii3 队列适配器 for Apache Pulsar 是自由软件。它根据 BSD 许可协议发布。更多信息请参阅 [LICENSE](https://github.com/g41797/queue-pulsar/blob/HEAD/./LICENSE.md)。