girolle

Description
A nameko-rpc like lib in rust.
Do not use in production!
Documentation
User documentation and Rust documentation
Stack
Girolle use lapin as an AMQP client library.
Setup
You need to set this environement variables.
- RABBITMQ_USER: The RabbitMQ user
- RABBITMQ_PASSWORD: The RabbitMQ password
- RABBITMQ_HOST: THe rabbitMQ host adress
- Optional: RABBITMQ_PORT: The RabbitMQ port (default: 5672)
How to use it
The core concept is to remove the pain of the queue creation and reply, and to
use an abstract type serde_json::Value to manipulate a serializable data.
It needed to extract the data from the a Vec<&Value>.
Exemple
use ;
TODO
- Handle the error
- write test
- create a proxy service in rust to interact with an other service nameko-rpc
- listen to a pub/sub queue
- factorize between the simple rpc and tokio