Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

new python sdk #864

Merged
merged 6 commits into from
Nov 8, 2024
Merged

new python sdk #864

merged 6 commits into from
Nov 8, 2024

Conversation

zhouli11
Copy link
Contributor

@zhouli11 zhouli11 commented Nov 6, 2024

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
Copy link
Member

beiwei30 commented Nov 7, 2024

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

Copy link
Contributor

@lollipopjin lollipopjin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@lollipopjin lollipopjin merged commit 552cf9e into apache:master Nov 8, 2024
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants