Skip to content

Document spec.workflow.stateStore, rollout and the metadata API for state store bindings - #5511

Closed
arturotrenard wants to merge 4 commits into
dapr:v1.19from
arturotrenard:docs/workflow-state-store-binding
Closed

arturotrenard wants to merge 4 commits into
dapr:v1.19from
arturotrenard:docs/workflow-state-store-binding

Conversation

@arturotrenard

Copy link
Copy Markdown

Thank you for helping make the Dapr documentation better!

Please follow this checklist before submitting:

  • Commits are signed with Developer Certificate of Origin (DCO - learn more)
  • Read the contribution guide
  • Commands include options for Linux, MacOS, and Windows within tabpane (one curl command)
  • New file and folder names are globally unique
  • Page references use shortcodes instead of markdown or URL links
  • Images use HTML style and have alternative text (no images)
  • Places where multiple code/command options are given have tabpane (not applicable)

Description

Completes the docs of per-actor-type state store binding (issue dapr/dapr#10168), on top of #5483:

Stacked on #5483, so the diff includes its commit until it merges. It targets the same branch as #5483, and I will retarget both together if the feature ships in 1.20.

Issue reference

dapr/dapr#10168

…teStores)

Adds a page on binding actor types to state stores with
spec.actors.stateStores, and references it from the actors overview,
the Configuration overview and spec, and the error codes reference
(ERR_ACTOR_STATE_STORE_NOT_FOUND).

Signed-off-by: Arturo Trenard <jarturotrenard@gmail.com>
Signed-off-by: Arturo Trenard <jarturotrenard@gmail.com>
Signed-off-by: Arturo Trenard <jarturotrenard@gmail.com>
…tate store bindings

Adds to the state store binding page: binding workflow state with
spec.workflow.stateStore, how to roll out a binding, how to verify it
with the metadata API, and how to separate actor types within one
database server. Documents actorRuntime in the metadata API reference,
and the workflow section of the Configuration spec.

Signed-off-by: Arturo Trenard <jarturotrenard@gmail.com>
@arturotrenard

Copy link
Copy Markdown
Author

The runtime side of this is dapr/dapr#11256, which adds actorRuntime.stateStores to the metadata API. Both that PR and this one need to merge to close out dapr/dapr#10168. This one is stacked on #5483, so that one goes first.

@arturotrenard

Copy link
Copy Markdown
Author

Closing in favor of #5483: I pushed this commit there, so the feature is documented in a single PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant