Missing detailed docs on RPC implementation (integration with other frameworks)


#1

From @izmailoff on Thu Sep 01 2016 02:57:41 GMT+0000 (UTC)

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


Copied from original issue: https://github.com/nameko/nameko/issues/354