Match the port number with sample code.

The project on GitHub runs on port `7005`, this change matches the port number so the tutorial will work. Refer to this source code:  https://github.com/dapr/quickstarts/blob/master/pub_sub/csharp/sdk/order-processor/Properties/launchSettings.json#:~:text=%22http%3A//localhost%3A-,7005,-%22%2C

Signed-off-by: Rosdi Kasim <rosdikasim@gmail.com>
This commit is contained in:
Rosdi Kasim 2023-04-03 14:35:13 +08:00 committed by GitHub
parent 4ffbc22527
commit 7ba96b5f82
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -389,7 +389,7 @@ dotnet build
Run the `order-processor` subscriber service alongside a Dapr sidecar.
```bash
dapr run --app-id order-processor --resources-path ../../../components --app-port 7002 -- dotnet run
dapr run --app-id order-processor --resources-path ../../../components --app-port 7005 -- dotnet run
```
In the `order-processor` subscriber, we're subscribing to the Redis instance called `orderpubsub` [(as defined in the `pubsub.yaml` component)]({{< ref "#pubsubyaml-component-file" >}}) and topic `orders`. This enables your app code to talk to the Redis component instance through the Dapr sidecar.