Skip to content

Commit

Permalink
Fix go quickstart port (#2360)
Browse files Browse the repository at this point in the history
* fix go quickstart port

Signed-off-by: yaron2 <schneider.yaron@live.com>

* fix pub/sub port also

Signed-off-by: yaron2 <schneider.yaron@live.com>
  • Loading branch information
yaron2 committed Apr 12, 2022
1 parent 4bc7495 commit 750231f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -702,7 +702,7 @@ go build app.go
Run the `order-processor` subscriber service alongside a Dapr sidecar.

```bash
dapr run --app-port 6001 --app-id order-processor --app-protocol http --dapr-http-port 3501 --components-path ../../../components -- go run app.go
dapr run --app-port 6002 --app-id order-processor --app-protocol http --dapr-http-port 3501 --components-path ../../../components -- go run app.go
```

In the `order-processor` subscriber, we're subscribing to the Redis instance called `order_pub_sub` [(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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -537,7 +537,7 @@ go build app.go
Run the `order-processor` service alongside a Dapr sidecar.

```bash
dapr run --app-port 5001 --app-id order-processor --app-protocol http --dapr-http-port 3501 -- go run app.go
dapr run --app-port 6001 --app-id order-processor --app-protocol http --dapr-http-port 3501 -- go run app.go
```

Each order is received via an HTTP POST request and processed by the
Expand Down

0 comments on commit 750231f

Please sign in to comment.