rocketmq-client-php icon indicating copy to clipboard operation
rocketmq-client-php copied to clipboard

A Php Client for Apache RocketMQ.

Results 21 rocketmq-client-php issues
Sort by recently updated
recently updated
newest added

通过chrome 浏览器,访问 /example/Producer.php,返回502

Built the extension on MacOS Catalina, PHP 7.4.6 using latest PHP-CPP and rocketmq-client-cpp. And here is an error that I get on any PHP run ``` PHP Warning: PHP Startup:...

[root@localhost rocketmq-client-cpp]# php -v PHP Warning: PHP Startup: Unable to load dynamic library 'rocketmq.so' (tried: /usr/lib64/php/modules/rocketmq.so (/lib/libphpcpp.so.2.2: undefined symbol: _zval_copy_ctor_func), /usr/lib64/php/modules/rocketmq.so.so (/usr/lib64/php/modules/rocketmq.so.so: cannot open shared object file: No such file...

push consumer 代码的图片: ![image](https://user-images.githubusercontent.com/20147781/81378603-239f6200-913a-11ea-9dd1-24d87e70e11a.png) producer 代码的图片: ![image](https://user-images.githubusercontent.com/20147781/81378525-05d1fd00-913a-11ea-9374-47fbca2be5eb.png) 代码执行的结果: ![image](https://user-images.githubusercontent.com/20147781/81378655-39148c00-913a-11ea-83f5-c06716be42cc.png) ![image](https://user-images.githubusercontent.com/20147781/81378669-403b9a00-913a-11ea-9796-dec43d9d6adc.png) 后台的图片 ![image](https://user-images.githubusercontent.com/20147781/81378771-7c6efa80-913a-11ea-9320-c43e49854808.png) 我就生产了一条消息,但是消费出了两条一摸一样的消息出来了。

macOS 10.13 环境 编译出错 ![image](https://user-images.githubusercontent.com/3973054/78003532-6320a480-736b-11ea-8840-1eabdd91fdac.png) 把 param[1] 强制转换为 int 型后,在编译出现下面错误 ![image](https://user-images.githubusercontent.com/3973054/78003881-eb06ae80-736b-11ea-835e-b17c8bdd794c.png) 修改为 const int64_t result = this->_iter - this->_vec.begin(); return new Php::Value(result); 出现新的错误 ![image](https://user-images.githubusercontent.com/3973054/78003916-f78b0700-736b-11ea-9e04-efd324b729d3.png) 麻烦看下

系统版本:Centos7.5.1804 PHP版本:7.1.29 PHP-CPP版本:2.2.0 rocketmq-client-cpp版本:2.0.0(rpm安装) rocketmq-client-php版本:master分支最新 > (rocketmq-test) [root@localhost rocketmq-client-php]# php -v PHP 7.1.29 (cli) (built: Oct 3 2021 16:17:18) ( NTS ) Copyright (c) 1997-2018 The PHP Group Zend Engine...

我想问下针对PHP8这块有没有做兼容适配?是否能使用在PHP8的项目上?

时不时会出现段错误这个是怎么回事 代码如下 `namespace RocketMQ; $instanceName = "mp"; $consumer = new PushConsumer($instanceName); $consumer->setInstanceName($instanceName); $consumer->setNamesrvAddr("192.168.1.64:9876"); //$consumer->setSessionCredentials("accessKey","secretKey","ALIYUN"); //阿里云生产环境接入签权配置 测试环境无需设置 $consumer->setThreadCount(1); $consumer->setListenerType(MessageListenerType::LISTENERCONCURRENTLY); $consumer->setConsumeFromWhere(ConsumeFromWhere::CONSUME_FROM_FIRST_OFFSET); $consumer->setMessageModel(MessageModel::BROADCASTING); $result = array(); $count = 0; $consumer->setCallback(function ($msg) use (&$count){...

怎么按tag过滤消息消费