Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
xutl committed Aug 7, 2017
1 parent 0957457 commit c245264
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,16 @@
# yii2-mns
# yii2-mq

适用于Yii2的消息服务组件,支持阿里云的MNS,AWS的SQS,以及Redis。

[![Latest Stable Version](https://poser.pugx.org/xutl/yii2-mq/v/stable.png)](https://packagist.org/packages/xutl/yii2-mq)
[![Total Downloads](https://poser.pugx.org/xutl/yii2-mq/downloads.png)](https://packagist.org/packages/xutl/yii2-mq)
[![Reference Status](https://www.versioneye.com/php/xutl:yii2-mq/reference_badge.svg)](https://www.versioneye.com/php/xutl:yii2-mq/references)
[![Build Status](https://img.shields.io/travis/xutl/yii2-mq.svg)](http://travis-ci.org/xutl/yii2-mq)
[![Dependency Status](https://www.versioneye.com/php/xutl:yii2-mq/dev-master/badge.png)](https://www.versioneye.com/php/xutl:yii2-mq/dev-master)
[![License](https://poser.pugx.org/xutl/yii2-mq/license.svg)](https://packagist.org/packages/xutl/yii2-mq)



特别说明:非任务队列,也不是短消息那种私信组件,这是个纯消息组件。本来我是想做队列,我看了laravel,以及yii2其他人做的队列任务组件,我发现,
他们下发任务的时候要么发个闭包,要么发个序列化的类,包括我之前做的一个队列组件也是这么做的,后来我看了阿里云的消息队列服务的开发者
文档我觉得,消息服务本质上就是个纯消息服务,没必要把任务也放里面,一条消息就是一个普通的JSON字符串就行了,就像微信的公众号接收
Expand Down

0 comments on commit c245264

Please sign in to comment.