From 188b3089acfe0155aa961f43824d82aed9eef6b5 Mon Sep 17 00:00:00 2001 From: Paul Yuknewicz Date: Mon, 2 Oct 2023 08:15:58 -0700 Subject: [PATCH] Fixes port 6003 conflict between Go Pub-sub and Go bindings. Timing issue Signed-off-by: Paul Yuknewicz --- pub_sub/go/http/README.md | 2 +- pub_sub/go/http/dapr.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pub_sub/go/http/README.md b/pub_sub/go/http/README.md index 6a4ec529e..4ecc48e5b 100644 --- a/pub_sub/go/http/README.md +++ b/pub_sub/go/http/README.md @@ -77,7 +77,7 @@ An alternative to running all or multiple applications at once is to run single ```bash cd ./order-processor -dapr run --app-port 6003 --app-id order-processor-http --app-protocol http --dapr-http-port 3501 --resources-path ../../../components -- go run . +dapr run --app-port 6007 --app-id order-processor-http --app-protocol http --dapr-http-port 3501 --resources-path ../../../components -- go run . ``` ### Run Go message publisher with Dapr diff --git a/pub_sub/go/http/dapr.yaml b/pub_sub/go/http/dapr.yaml index e6b04c161..272c72845 100644 --- a/pub_sub/go/http/dapr.yaml +++ b/pub_sub/go/http/dapr.yaml @@ -4,7 +4,7 @@ common: apps: - appID: order-processor-http appDirPath: ./order-processor/ - appPort: 6003 + appPort: 6007 command: ["go", "run", "."] - appID: checkout-http appDirPath: ./checkout/