Commit 667e859 1 parent 0364e08 commit 667e859 Copy full SHA for 667e859
File tree 1 file changed +13
-4
lines changed
1 file changed +13
-4
lines changed Original file line number Diff line number Diff line change @@ -31,18 +31,27 @@ expected_stdout_lines:
31
31
- '== APP - rust-subscriber == Content-Type: text/plain'
32
32
- '== APP - rust-publisher == messages published'
33
33
background: true
34
- sleep: 60
34
+ sleep: 30
35
+ timeout_seconds: 90
35
36
-->
36
37
37
38
38
39
```bash
39
40
dapr run -f .
40
41
```
41
42
42
- 2 . Stop and clean up application processes
43
+ <!-- END_STEP -->
44
+
45
+ 2 . Stop with ` ctrl + c `
46
+
47
+ ### Running without multi-app
43
48
49
+ 1 . Run the subscriber with dapr
44
50
``` bash
45
- dapr stop -f .
51
+ dapr run --app-id rust-subscriber --app-protocol grpc --app-port 50051 cargo run -- --example subscriber
46
52
```
47
53
48
- <!-- END_STEP -->
54
+ 2 . Run the publisher with dapr
55
+ ``` bash
56
+ dapr run --app-id rust-publisher --app-protocol grpc cargo run -- --example publisher
57
+ ```
You can’t perform that action at this time.
0 commit comments