Download the PHP package tttlkkkl/php_nsq_client without Composer
On this page you can find all versions of the php package tttlkkkl/php_nsq_client. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download tttlkkkl/php_nsq_client
More information about tttlkkkl/php_nsq_client
Files in tttlkkkl/php_nsq_client
Download tttlkkkl/php_nsq_client
More information about tttlkkkl/php_nsq_client
Files in tttlkkkl/php_nsq_client
Please rate this library. Is it a good library?
Informations about the package php_nsq_client
nsq_swoole_client
基于swoole实现的NSQ客户端。支持sub、pub、mPub、auth。 lumen 下的使用实例(laravel同理):github。
- 消息去重、重新排队的机机制、日志等都可以通过实现已定义的接口去中心实现。一般情况下只需要实现消息处理方法即可。
- 默认实现的消费客户端构造方法参数
$finishAuto
为true
时,如果handle
方法返回false
或者抛出任何异常都将自动根据requeue
对象重新排队。 - 如果已对
message
对象调用了finish()
或者requeue()
方法并且失败时,走$finishAuto
为true
时的逻辑。 $finishAuto
为false
时,必须手动调用finish()
或者requeue()
。helper
目录中封装了常用的http
pub
和mpub
。
示例:
All versions of php_nsq_client with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.6
ext-swoole Version >=2.1.2
ext-swoole Version >=2.1.2
The package tttlkkkl/php_nsq_client contains the following files
Loading the files please wait ....