-
Notifications
You must be signed in to change notification settings - Fork 76
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
[pgmq-python] Merge pgmq-sqlalchemy
with current python client package
#290
Comments
I like pgmq-sqlalchemy because it has better support for the various SQL client libraries in the python ecosystem, and sync/async. tembo-pgmq-python only supports psycopg3 at the moment, and I think most of industry still uses psycopg2. It would be much simpler to have a single recognized client per language, so I am all for merging the two projects.
That links to tembo-pgmq-python, but what we are discussing here is merging pgmq-sqlalachemy into tembo-pgmq-python, correct? From what I can tell, pgmq-sqlalchemy and have very similar APIs, |
There isn’t any significant difference between the two packages. I’m just confirming the final details; then I will start the process. Extract pgmq Functions from the
|
@jason810496 , am I correct in assuming this will be a non-breaking change for the existing psycopg3 users? Seems like that will be true but I am not sure. |
Yes, they just need to change the way the client is constructed; all the methods provided by the client class remain unchanged. |
@tavallaie - could you elaborate on the concerns you voiced about merging these two projects? I don't understand how PGMQ is currently used with PeeWee or Celery, which means I also don't understand what problems this will introduce. |
|
I think that is a good idea, If this is implemented this way, does that resolve your concerns @tavallaie ? |
I think so, I mean I don't see any problem in that way. |
Hi, after discussing with @ChuckHend,
I will merge pgmq-sqlalchemy with the current Python client package.
The process of merging these two Python packages might include:
Other discussions include:
pgmq-sqlalchemy
client (to be merged intotembo-pgmq-python
):db_session
).tembo-pgmq-python
client:psycopg2
andpsycopg3
.The overall process might result in two client classes:
one with SQLAlchemy support and another that directly interacts with the DBAPI.
Are there any concerns that should be addressed during this migration?
Tasks
The text was updated successfully, but these errors were encountered: