Skip to content

innovabinaria/dapr_rust_02

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Rust and DAPR

Technologies

My Skills

Site Dapr.io

This example assumes that you have Dapr Cli and docker installed on the local machine and that you are running the default instance of Redis installed on Docker.

Before you run the example make sure local redis state store is running by executing:

docker ps
  1. To run the example we need to first build the examples using the following command:
cargo build 
  1. Run the example with dapr using the following command:
dapr run --app-id=dapr_rust_02 --dapr-grpc-port 3500  cargo run

If everything went well you should see the following output along with dapr logs:

Starting Dapr Rust application...
Waiting for Dapr sidecar to be ready...
Connected to Dapr successfully.
Successfully saved key 'K1' in store 'statestore'.
Retrieved value: "Hello World"
Successfully deleted key 'K1' from store 'statestore'.
Value was successfully deleted.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages