nameko: Missing detailed docs on RPC implementation (integration with other frameworks)
Hi, I’m trying to implement support for RPC in my non-nameko service that connects to RabbitMQ (AMQP). I wasn’t able to find any description of how RPC exchange should happen.
I can see that Nameko is serializing RPC call to JSON - this is what I receive on subscriber side: {"kwargs": {}, "args": ["test string"]}
. I’ve figured that the queue will be named as 'rpc-' + my_service_name
. It seems that there is another exclusive queue created with GUID appended to it’s name, which I suppose is used for the response.
Do you have any docs or quick info on how exactly RPC exchange happens? It would save lots of reverse-engineering effort for anyone trying to integrate with nameko.
Thanks
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 16 (7 by maintainers)
I wrote a short article on RPC implementation in Nameko. It’s not exactly detailed as much as technical docs would be but explains enough to know how it works: http://izmailoff.github.io/architecture/rpc-revived/. Hopefully it will be useful for someone. Pls let know your feedback and if I missed anything if you read it. Cheers.