workbunny / webman-rqueue Goto Github PK
View Code? Open in Web Editor NEW🚀🐇 A lightweight queue based on Redis Stream for webman plugin.
Home Page: https://www.workerman.net/plugin/69
License: MIT License
🚀🐇 A lightweight queue based on Redis Stream for webman plugin.
Home Page: https://www.workerman.net/plugin/69
License: MIT License
打算在生产环境中用这个扩展 但是不知道可靠性如何
建议延迟队列增加消息重发机制,比如增加一个参数,消息id 多次发送时如果ID相同可以覆盖之前发送的消息。
文档里说“QueueBuilder类使用定时器进行消费,每一次消费之后会根据消息的属性 _header['_delete'] 来进行消息释放”,
但是现在https://github.com/workbunny/webman-rqueue/blob/master/src/Builders/GroupBuilder.php#L60,消费时传入$del参数是false,
$this->consume($worker, false);
if($del) { $client->xDel($queueName, $ids); }
xDel永远不会执行。
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires workbunny/webman-rqueue * -> satisfiable by workbunny/webman-rqueue[0.0.1, 0.0.2, 1.0.0, 1.0.1].
- workbunny/webman-rqueue[0.0.1, ..., 0.0.2, 1.0.0, ..., 1.0.1] require psr/container ^1.1.1 -> found psr/container[1.1.1, 1.1.2] but it conflicts with your root composer.json require (^2.0).
You can also try re-running composer require with an explicit version constraint, e.g. "composer require workbunny/webman-rqueue:*" to figure out if any version is installable, or "composer require workbunny/webman-rqueue:^2.1" if you know which you need.
Installation failed, reverting ./composer.json and ./composer.lock to their original content.
好像不支持php8.0 我用了psr/container(^2.0)
目前只做了
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.