Skip to content

Commit

Permalink
cleanup pubsub validation
Browse files Browse the repository at this point in the history
Signed-off-by: mikeee <[email protected]>
  • Loading branch information
mikeee committed Feb 22, 2024
1 parent 0364e08 commit 667e859
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions examples/pubsub/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,18 +31,27 @@ expected_stdout_lines:
- '== APP - rust-subscriber == Content-Type: text/plain'
- '== APP - rust-publisher == messages published'
background: true
sleep: 60
sleep: 30
timeout_seconds: 90
-->
```bash
dapr run -f .
```
2. Stop and clean up application processes
<!-- END_STEP -->

2. Stop with `ctrl + c`

### Running without multi-app

1. Run the subscriber with dapr
```bash
dapr stop -f .
dapr run --app-id rust-subscriber --app-protocol grpc --app-port 50051 cargo run -- --example subscriber
```

<!-- END_STEP -->
2. Run the publisher with dapr
```bash
dapr run --app-id rust-publisher --app-protocol grpc cargo run -- --example publisher
```

0 comments on commit 667e859

Please sign in to comment.