apache / rocketmq-clients

RocketMQ Clients - Collection of Client Bindings for Apache RocketMQ
https://rocketmq.apache.org/
Apache License 2.0
330 stars 216 forks source link

new python sdk #864

Closed zhouli11 closed 3 weeks ago

zhouli11 commented 3 weeks ago

This PR completely refactors the existing Python SDK, including the following content:

  1. It hides the implementation details of coroutines. Users do not need to understand asyncio API, It is simpler to use.
  2. It provides asynchronous methods for sending, receiving, and acknowledging message.
  3. It implements thread safety for using multiple producers and consumers in a multithreaded environment, the existing version can’t work under a multi-threaded environment.
  4. It implements metrics based on OpenTelemetry.
  5. It fixes some bugs, such as multiple connections for the same endpoints、 heartbeat failures and so on
  6. It fixes the incorrect package dependencies.
beiwei30 commented 3 weeks ago

LGTM. This is a feature the community has been looking forward to, good job :)