Skip to content

Commit 29bc56b

Browse files
committed
Resiliency s2s missing resource path
Signed-off-by: Bilgin Ibryam <[email protected]>
1 parent c83d826 commit 29bc56b

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

resiliency/service-to-service-resiliency.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ dapr run --app-id checkout --resources-path ../../../resources/ --app-protocol
106106

107107
### Expected output
108108

109-
Once both services are running, the `order-processor` service will recieve orders from the `checkout`service continuously using Dapr's service invoke API.
109+
Once both services are running, the `order-processor` service will receive orders from the `checkout` service continuously using Dapr's service invoke API.
110110

111111
##### `order-processor` output
112112

@@ -116,7 +116,7 @@ Once both services are running, the `order-processor` service will recieve order
116116
== APP == Order received: { orderId: 3 }
117117
```
118118
119-
### Simulate ann application failure by stopping the `order-processor` service
119+
### Simulate an application failure by stopping the `order-processor` service
120120
121121
Simulate a system failure by stopping the `order-processor` service running in your second terminal window.
122122
@@ -159,39 +159,39 @@ Simulate the `order-processor` service recovering by restarting the application
159159
##### Order Processor Service
160160
161161
```bash
162-
dapr run --app-port 7001 --app-id order-processor --resources-path --app-protocol http --dapr-http-port 3501 -- dotnet run
162+
dapr run --app-port 7001 --app-id order-processor --resources-path ../../../resources/ --app-protocol http --dapr-http-port 3501 -- dotnet run
163163
```
164164
165165
### Go example
166166
167167
##### Order Processor Service
168168
169169
```bash
170-
dapr run --app-port 6001 --app-id order-processor --resources-path --app-protocol http --dapr-http-port 3501 -- go run .
170+
dapr run --app-port 6001 --app-id order-processor --resources-path ../../../resources/ --app-protocol http --dapr-http-port 3501 -- go run .
171171
```
172172
173173
### Java example
174174
175175
##### Order Processor Service
176176
177177
```bash
178-
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
178+
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
179179
```
180180
181181
### JavaScript example
182182
183183
##### Order Processor Service
184184
185185
```bash
186-
dapr run --app-port 5001 --app-id order-processor --resources-path --app-protocol http --dapr-http-port 3501 -- npm start
186+
dapr run --app-port 5001 --app-id order-processor --resources-path ../../../resources/ --app-protocol http --dapr-http-port 3501 -- npm start
187187
```
188188
189189
### Python example
190190
191191
##### Order Processor Service:
192192
193193
```bash
194-
dapr run --app-port 8001 --app-id order-processor --resources-path --app-protocol http --dapr-http-port 3501 -- python3 app.py
194+
dapr run --app-port 8001 --app-id order-processor --resources-path ../../../resources/ --app-protocol http --dapr-http-port 3501 -- python3 app.py
195195
```
196196
197197
### Observe orders have resumed sequentially:

0 commit comments

Comments
 (0)