In-memory

Detailed documentation on the In Memory pubsub component

The in-memory pub/sub component operates within a single Dapr sidecar. 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

  1. apiVersion: dapr.io/v1alpha1
  2. kind: Component
  3. metadata:
  4. name: pubsub
  5. spec:
  6. type: pubsub.in-memory
  7. version: v1
  8. metadata: []

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

Last modified March 21, 2024: Merge pull request #4082 from newbe36524/v1.13 (f4b0938)