mirror of https://github.com/dapr/docs.git
Added spec.metadata to example and note (#2527)
Signed-off-by: Tyson Lawrie <tlawrie@users.noreply.github.com>
This commit is contained in:
parent
7eff7d8803
commit
4b1deaea54
|
@ -20,8 +20,11 @@ metadata:
|
|||
spec:
|
||||
type: pubsub.in-memory
|
||||
version: v1
|
||||
metadata: []
|
||||
```
|
||||
|
||||
> Note: in-memory does not require any specific metadata for the component to work, however spec.metadata is a required field.
|
||||
|
||||
## Related links
|
||||
- [Basic schema for a Dapr component]({{< ref component-schema >}}) in the Related links section
|
||||
- Read [this guide]({{< ref "howto-publish-subscribe.md#step-2-publish-a-topic" >}}) for instructions on configuring pub/sub components
|
||||
|
|
Loading…
Reference in New Issue