You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: examples/README.md
+28-3Lines changed: 28 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,14 +1,39 @@
1
1
# Examples
2
2
3
-
This directory contains examples of how to author durable orchestrations using the Durable Task Python SDK.
3
+
This directory contains examples of how to author durable orchestrations using the Durable Task Python SDK. There are two backends that are compatible with the Durable Task Python SDK: The Dapr sidecar, and the Durable Task Scheduler (DTS)
4
4
5
-
## Prerequisites
5
+
## Prerequisites for using Dapr
6
6
7
7
All the examples assume that you have a Durable Task-compatible sidecar running locally. There are two options for this:
8
8
9
9
1. Install the latest version of the [Dapr CLI](https://docs.dapr.io/getting-started/install-dapr-cli/), which contains and exposes an embedded version of the Durable Task engine. The setup process (which requires Docker) will configure the workflow engine to store state in a local Redis container.
10
10
11
-
1. Clone and run the [Durable Task Sidecar](https://github.com/microsoft/durabletask-go) project locally (requires Go 1.18 or higher). Orchestration state will be stored in a local sqlite database.
11
+
2. Clone and run the [Durable Task Sidecar](https://github.com/microsoft/durabletask-go) project locally (requires Go 1.18 or higher). Orchestration state will be stored in a local sqlite database.
12
+
13
+
14
+
## Prerequisites for using DTS
15
+
16
+
All the examples assume that you have a Durable Task Scheduler taskhub created.
17
+
18
+
The simplest way to create a taskhub is by using the az cli commands:
0 commit comments