Version description

Updated at:

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 --version to check)

  • pip package manager available (run pip --version to 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.1
Important

The Python SDK requires Python 3.7 or later.

Release history

For all available versions, see Release history on PyPI.

Next steps