The documentation you are viewing is for Dapr v1.12 which is an older version of Dapr. For up-to-date documentation, see the latest version.


Detailed documentation on the in-memory state component

The in-memory state store component maintains state in the Dapr sidecar’s memory. This is primarily meant for development purposes. State is not replicated across multiple sidecars and is lost when the Dapr sidecar is restarted.

Component format

To setup in-memory state store, create a component of type See this guide on how to create and apply a state store configuration.

kind: Component
  name: <NAME>
  version: v1
  metadata: []

Note: While in-memory does not require any specific metadata for the component to work, spec.metadata is a required field.