mirror of https://github.com/dapr/quickstarts.git
Resiliency s2s missing resource path
Signed-off-by: Bilgin Ibryam <bibryam@gmail.com>
This commit is contained in:
parent
c83d8268b4
commit
29bc56bdc2
|
@ -106,7 +106,7 @@ dapr run --app-id checkout --resources-path ../../../resources/ --app-protocol
|
||||||
|
|
||||||
### Expected output
|
### 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
|
##### `order-processor` output
|
||||||
|
|
||||||
|
@ -116,7 +116,7 @@ Once both services are running, the `order-processor` service will recieve order
|
||||||
== APP == Order received: { orderId: 3 }
|
== 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.
|
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
|
##### Order Processor Service
|
||||||
|
|
||||||
```bash
|
```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
|
### Go example
|
||||||
|
@ -167,7 +167,7 @@ dapr run --app-port 7001 --app-id order-processor --resources-path --app-protoco
|
||||||
##### Order Processor Service
|
##### Order Processor Service
|
||||||
|
|
||||||
```bash
|
```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
|
### Java example
|
||||||
|
@ -175,7 +175,7 @@ dapr run --app-port 6001 --app-id order-processor --resources-path --app-protoco
|
||||||
##### Order Processor Service
|
##### Order Processor Service
|
||||||
|
|
||||||
```bash
|
```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
|
### JavaScript example
|
||||||
|
@ -183,7 +183,7 @@ dapr run --app-id order-processor --resources-path --app-port 9001 --app-protoco
|
||||||
##### Order Processor Service
|
##### Order Processor Service
|
||||||
|
|
||||||
```bash
|
```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
|
### Python example
|
||||||
|
@ -191,7 +191,7 @@ dapr run --app-port 5001 --app-id order-processor --resources-path --app-protoco
|
||||||
##### Order Processor Service:
|
##### Order Processor Service:
|
||||||
|
|
||||||
```bash
|
```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:
|
### Observe orders have resumed sequentially:
|
||||||
|
|
Loading…
Reference in New Issue