mirror of https://github.com/dapr/docs.git
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:
parent
4ffbc22527
commit
7ba96b5f82
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue