Before you run the example make sure local redis state store is running by executing:
docker ps
- To run the example we need to first build the examples using the following command:
cargo build --examples- Run the example with dapr using the following command:
dapr run -f .What the multi-run step effectively runs for you:
- Runs the invoke-grpc-server:
dapr run --app-id=invoke-grpc-server --app-protocol grpc --app-port 50051 -- cargo run --example invoke-grpc-proxying-server- Runs the invoke-grpc-client:
dapr run --app-id=invoke-grpc-client -- cargo run --example invoke-grpc-proxying-clientIf everything went well you should see the following output along with dapr logs:
Response: HelloReply {
message: "Hello Test!",
}