From 29bc56bdc27813099c23b3878421ec1468045d47 Mon Sep 17 00:00:00 2001 From: Bilgin Ibryam Date: Tue, 25 Mar 2025 13:53:18 +0000 Subject: [PATCH] Resiliency s2s missing resource path Signed-off-by: Bilgin Ibryam --- resiliency/service-to-service-resiliency.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/resiliency/service-to-service-resiliency.md b/resiliency/service-to-service-resiliency.md index bcc0eea2..a0737205 100644 --- a/resiliency/service-to-service-resiliency.md +++ b/resiliency/service-to-service-resiliency.md @@ -106,7 +106,7 @@ dapr run --app-id checkout --resources-path ../../../resources/ --app-protocol ### Expected output -Once both services are running, the `order-processor` service will recieve orders from the `checkout`service continuously using Dapr's service invoke API. +Once both services are running, the `order-processor` service will receive orders from the `checkout` service continuously using Dapr's service invoke API. ##### `order-processor` output @@ -116,7 +116,7 @@ Once both services are running, the `order-processor` service will recieve order == APP == Order received: { orderId: 3 } ``` -### Simulate ann application failure by stopping the `order-processor` service +### Simulate an application failure by stopping the `order-processor` service Simulate a system failure by stopping the `order-processor` service running in your second terminal window. @@ -159,7 +159,7 @@ Simulate the `order-processor` service recovering by restarting the application ##### Order Processor Service ```bash -dapr run --app-port 7001 --app-id order-processor --resources-path --app-protocol http --dapr-http-port 3501 -- dotnet run +dapr run --app-port 7001 --app-id order-processor --resources-path ../../../resources/ --app-protocol http --dapr-http-port 3501 -- dotnet run ``` ### Go example @@ -167,7 +167,7 @@ dapr run --app-port 7001 --app-id order-processor --resources-path --app-protoco ##### Order Processor Service ```bash -dapr run --app-port 6001 --app-id order-processor --resources-path --app-protocol http --dapr-http-port 3501 -- go run . +dapr run --app-port 6001 --app-id order-processor --resources-path ../../../resources/ --app-protocol http --dapr-http-port 3501 -- go run . ``` ### Java example @@ -175,7 +175,7 @@ dapr run --app-port 6001 --app-id order-processor --resources-path --app-protoco ##### Order Processor Service ```bash -dapr run --app-id order-processor --resources-path --app-port 9001 --app-protocol http --dapr-http-port 3501 -- java -jar target/OrderProcessingService-0.0.1-SNAPSHOT.jar +dapr run --app-id order-processor --resources-path ../../../resources/ --app-port 9001 --app-protocol http --dapr-http-port 3501 -- java -jar target/OrderProcessingService-0.0.1-SNAPSHOT.jar ``` ### JavaScript example @@ -183,7 +183,7 @@ dapr run --app-id order-processor --resources-path --app-port 9001 --app-protoco ##### Order Processor Service ```bash -dapr run --app-port 5001 --app-id order-processor --resources-path --app-protocol http --dapr-http-port 3501 -- npm start +dapr run --app-port 5001 --app-id order-processor --resources-path ../../../resources/ --app-protocol http --dapr-http-port 3501 -- npm start ``` ### Python example @@ -191,7 +191,7 @@ dapr run --app-port 5001 --app-id order-processor --resources-path --app-protoco ##### Order Processor Service: ```bash -dapr run --app-port 8001 --app-id order-processor --resources-path --app-protocol http --dapr-http-port 3501 -- python3 app.py +dapr run --app-port 8001 --app-id order-processor --resources-path ../../../resources/ --app-protocol http --dapr-http-port 3501 -- python3 app.py ``` ### Observe orders have resumed sequentially: