From 7ba96b5f82c8088df79fa835614dda3087d2aadb Mon Sep 17 00:00:00 2001 From: Rosdi Kasim Date: Mon, 3 Apr 2023 14:35:13 +0800 Subject: [PATCH] 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 --- .../content/en/getting-started/quickstarts/pubsub-quickstart.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daprdocs/content/en/getting-started/quickstarts/pubsub-quickstart.md b/daprdocs/content/en/getting-started/quickstarts/pubsub-quickstart.md index df3226fbf..660282fe4 100644 --- a/daprdocs/content/en/getting-started/quickstarts/pubsub-quickstart.md +++ b/daprdocs/content/en/getting-started/quickstarts/pubsub-quickstart.md @@ -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.