MQ Python HTTP SDK
Aliyun MQ Documents: http://www.aliyun.com/product/ons
Aliyun MQ Console: https://ons.console.aliyun.com
Requires
Python version(=v1.0.0): [2.5, 3.0)
Python version(>v1.0.0): [2.5, ~)
Install sdk by pip
- install pip, see document
- install sdk by pip
pip install mq_http_sdk
Notice
MQClient, Producer, Consumer are not thread safe, please use multi instance in mutli thread.
Note
- Http consumer only support timer msg (less than 3 days), no matter the msg is produced from http or tcp protocol.
- Order is only supported at special server cluster.
Samples (github)
Publish Message
Consume Message
Transaction Message
Publish Order Message
Consume Order Message
Samples (code.aliyun.com)
Publish Message
Consume Message
Transaction Message
Publish Order Message
Consume Order Message