ZeroMQ N to N async pattern in Python
N-proxy-N Pub-Sub Similar to the question N to N async pattern in ZeroMQ? , but which unfortunately never received an answer with working code. I'm trying to implement Pub-Sub network as described in the guide: http://zguide.zeromq.org/py:all#The-Dynamic-Discovery-Problem (a small message broker in the style of N-proxy-N). Unfortunately, the guide doesn't provide any code examples. I've tried to implement an Hello World example using PyZMQ, I think I'm close, but I'm facing some errors I don't know how to handle. Sorry for the use of asyncio (I'm more comfortable with this then threads). Code