English | 简体中文 | RocketMQ Website
Here is the Python implementation of the client for Apache RocketMQ. Different from the remoting-based client, the current implementation is based on separating architecture for computing and storage, which is the more recommended way to access the RocketMQ service.
Here are some preparations you may need to know (or refer to here).
Clone the current repository to your local machine and set up a virtual environment for development, which will help you manage dependencies more efficiently. Follow the steps below:
Navigate to the python
subdirectory and execute the command below to create a new virtual environment:
python3 -m venv myvenv
Activate the virtual environment. The activation method depends on your operating system:
myvenv\Scripts\activate.bat
source myvenv/bin/activate
Install the required dependency libraries by executing the following command:
pip install -r requirements.txt
Protocol layer code generation is completed.
Partial completion of rpcClient.