aio-libs / aiozmq

Asyncio (pep 3156) integration with ZeroMQ
aiozmq.readthedocs.org
BSD 2-Clause "Simplified" License
422 stars 56 forks source link

Abandoned? #191

Open paigeadelethompson opened 3 days ago

paigeadelethompson commented 3 days ago

Hey,

I have a thing where I can't use aiozmq because I can't run asynchronous code, but the rpc server uses aiozmq and for the most part its worked fine until I tried connecting to it with zerorpc; it won't work.. apparently their not the same zeromq rpc protocol? I don't know... but this is pretty annoying because now I have to change all of this other stuff to use zerorpc, too.

asvetlov commented 3 days ago

There are 3 things: ZeroMQ, aiozmq.rpc, and zerorpc. ZeroMQ provides a transport level, basically ZMQ sockets. aiozmq.rpc creates a level on top of ZMQ that packs/unpacks messages, and calls remote methods. zerorpc is another tool build on top of ZMQ; it uses different schema for message packing etc.

aiozmq.rpc and zerorpc are not compatible. There is no standard for ZMQ rpc , both libraries implement it on its own.

Regarding the question is the project abandoned or not, @JelleZijlstra is probably the person who can answer. I was the aiozmq initial author but I don't use it anymore and I have no intention to contribute, sorry.

paigeadelethompson commented 2 days ago

No worries, thank you for your response though I figured it must be one of those things where several people thought "RPC is a good idea for ZMQ" and everyone took their own approach to it. It's a nice library for the most part it seems to work okay, but I'm open to suggestions if you have anything else you'd prefer to use (preferably something that has both synchronous and asynchronous apis)

asvetlov commented 2 days ago

Sorry, I cannot suggest anything. I don't work with ZMQ anymore.

JelleZijlstra commented 2 days ago

I do still use aiozmq but I never became very familiar with the code. So this library isn't exactly abandoned, but not sure I can help you well.