hooklife / hyperf-aliyun-amqp Goto Github PK
View Code? Open in Web Editor NEWhyper aliyun amqp 连接组件
License: MIT License
hyper aliyun amqp 连接组件
License: MIT License
跟之前的ampq 配置文件互不影响还是怎么样? 现在打开就报错
[ERROR] PhpAmqpLib\Exception\AMQPRuntimeException:Error receiving data, errno=110(0) in /mnt/hgfs/web/hyperf/vendor/hyperf/amqp/src/Connection/SwooleIO.php:176
目前配置文件如下 其它都是官网文档ampq demo代码
config/ampq.php
return [
'default' => [
'host' => 'xxxxxx.mq-amqp.cn-shenzhen-a.aliyuncs.com',
'port' => 5672,
'vhost' => 'test1',
'concurrent' => [
'limit' => 1,
],
'pool' => [
'min_connections' => 1,
'max_connections' => 10,
'connect_timeout' => 10.0,
'wait_timeout' => 3.0,
'heartbeat' => -1,
],
'params' => [
'insist' => false,
'login_method' => 'AMQPLAIN',
'login_response' => null,
'locale' => 'en_US',
'connection_timeout' => 3.0,
'read_write_timeout' => 3.0,
'context' => null,
'keepalive' => false,
'heartbeat' => 0,
],
],
];
aliyun_ampq.php
return [
'default' => [
'endpoint' => 'xxxx.mq-amqp.cn-shenzhen-a.aliyuncs.com',
'owner_id' => 'xxx',
'access_key_id' => 'xxx',
'access_key_secret' => 'xxx',
],
];
从阿里云控制台可以看到 是正常连通过的
RT, 我是 hyperf 社区一员, 最近在处理 hyperf 使用 aliyun-amqp 相关 pr, 看到了你的项目
欢迎 pr 到社区, or 方便授权我提交到社区 ?
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.