-
Notifications
You must be signed in to change notification settings - Fork 781
$ dapr workflow CLI docs
#4916
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
$ dapr workflow CLI docs
#4916
Changes from all commits
d35344c
95633f6
4ba4744
20af9b3
4b122b7
802d377
4d11858
dcb0d0a
20f22eb
c5fd035
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -189,6 +189,45 @@ This number may be larger or smaller depending on retries or concurrency. | |
| | Raise event | 3 records | | ||
| | Start child workflow | 8 records | | ||
|
|
||
| #### Direct Database Access | ||
|
|
||
| For advanced operations, you can access workflow data directly: | ||
|
|
||
| ```bash | ||
| # Port forward to a postgres database in Kubernetes | ||
| kubectl port-forward service/postgres 5432:5432 | ||
|
|
||
| # Query workflows directly | ||
JoshVanL marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| dapr workflow list \ | ||
| --app-id myapp \ | ||
| --connection-string "host=localhost user=dapr password=dapr dbname=dapr port=5432 sslmode=disable" \ | ||
| --table-name workflows | ||
| ``` | ||
|
|
||
| ```bash | ||
| # Port forward to redis database in Kubernetes | ||
| kubectl port-forward service/redis 6379:6379 | ||
|
|
||
| # Query workflows directly | ||
| dapr workflow list \ | ||
| --app-id myapp \ | ||
| --connection-string redis://127.0.0.1:6379 \ | ||
| --table-name workflows | ||
| ``` | ||
|
|
||
| ### Supported State Stores | ||
|
|
||
| The workflow engine supports these state stores: | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. You do not really need this list here. It is the same as all actor state stores yes? I would just say that to avoid having to maintain another list
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It is not the same like- namely databases like dynamoDB & cosmosDB are not supported for workflows due to the max operations per transaction limitation. |
||
| - PostgreSQL | ||
| - MySQL | ||
| - SQL Server | ||
| - SQLite | ||
| - Oracle Database | ||
| - CockroachDB | ||
| - MongoDB | ||
| - Redis | ||
|
|
||
|
|
||
| ## Workflow scalability | ||
|
|
||
| Because Dapr Workflows are internally implemented using actors, Dapr Workflows have the same scalability characteristics as actors. | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.