PyPI | Release history | Environment preparation | Sample code
ApsaraMQ for RocketMQ 5.x instances are fully compatible with the Apache RocketMQ Python SDK. This guide covers the recommended SDK version for sending and receiving messages.
Prerequisites
Before you begin, make sure that you have:
Python 3.7 or later installed (run
python3 --versionto check)pip package manager available (run
pip --versionto check)An ApsaraMQ for RocketMQ 5.x instance
Recommended version
The following version has been tested and verified by Alibaba Cloud engineers:
Recommended version: rocketmq-python-client 5.1.1
pip install rocketmq-python-client==5.1.1The Python SDK requires Python 3.7 or later.
Release history
For all available versions, see Release history on PyPI.
Next steps
Environment preparation -- Set up your development environment and configure access credentials.
Sample code -- Send and receive messages with ready-to-run examples.