walkor
walkor
Theoretically, it is possible.
Implement EventInterface see `https://github.com/walkor/workerman/blob/master/src/Events/Event.php`.
Sorry, I don't have `C/FFI event loop` related experience and can't help you.
参考手册,需要更新下webman https://www.workerman.net/doc/webman#/queue/stomp
安装个RabbitMQ服务端,并开stomp插件。具体网上搜下文章
其它队列会慢慢加入。其实你可以直接复用composer里的消息队列类库,都是兼容的。
https://www.workerman.net/doc/webman#/queue/redis 新增redis队列,欢迎使用。
按照手册来,执行 `composer require webman/redis-queue` 安装
按照手册来 使用这个类 `use Webman\RedisQueue\Client;` 不是 `Workerman\RedisQueue\Client`
失败会进入延迟队列,稍后重试,默认重试5次,5次都失败进入失败队列 redis-queue-failed。 重试次数及间隔由 options参数 `max_attempts` 和 `retry_seconds` 控制。