diff --git a/examples/error_handling/README.md b/examples/error_handling/README.md index 1d24bc82..0ce190d3 100644 --- a/examples/error_handling/README.md +++ b/examples/error_handling/README.md @@ -38,7 +38,7 @@ timeout_seconds: 5 --> ```bash -dapr run -- python3 error_handling.py +dapr run --resources-path components -- python3 error_handling.py ``` diff --git a/examples/error_handling/components/state_redis.yaml b/examples/error_handling/components/state_redis.yaml new file mode 100644 index 00000000..7c45ff88 --- /dev/null +++ b/examples/error_handling/components/state_redis.yaml @@ -0,0 +1,15 @@ +apiVersion: dapr.io/v1alpha1 +kind: Component +metadata: + name: statestore +spec: + type: state.redis + version: v1 + initTimeout: 1m + metadata: + - name: redisHost + value: localhost:6379 + - name: redisPassword + value: "" + - name: actorStateStore + value: "true" \ No newline at end of file