June 2017
Beginner to intermediate
274 pages
6h 49m
English
The first way we can interact with our microservice is manually using the nameko shell, which is an enhanced Python shell. First, we have to run the microservice, which we'll do in its own command window, running the following command:
nameko run demo_nameko.service
Then, we'll start the nameko shell and use the end RPC object to access the functions of our microservice, as shown in the following code example:

Here, it looks like we're just calling the functions, but actually we're communicating with the microservice through the AMQP protocol.
Read now
Unlock full access