use the latest options for port (#83)

This commit is contained in:
Young Bu Park 2020-09-29 13:50:19 -07:00 committed by GitHub
parent 7e20fe99ea
commit 4beb217a11
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 5 deletions

View File

@ -11,7 +11,7 @@ cd example/serving/http
dapr run --app-id serving \
--app-protocol http \
--app-port 8080 \
--port 3500 \
--dapr-http-port 3500 \
--log-level debug \
--components-path ./config \
go run main.go
@ -24,7 +24,7 @@ cd example/serving/grpc
dapr run --app-id serving \
--app-protocol grpc \
--app-port 50001 \
--port 3500 \
--dapr-grpc-port 3500 \
--log-level debug \
--components-path ./config \
go run main.go
@ -39,7 +39,7 @@ cd example/client
dapr run --app-id caller \
--components-path ./config \
--log-level debug \
go run main.go
go run main.go
```
## API

View File

@ -21,7 +21,7 @@ dapr run --app-id sub \
--dapr-http-port 3500 \
--log-level debug \
--components-path ../config \
go run sub.go
go run sub.go
```
### Run Publisher
@ -36,7 +36,7 @@ Please change directory to pubsub/pub and run the following command:
dapr run --app-id pub \
--log-level debug \
--components-path ../config \
go run pub.go
go run pub.go
```
## Result