mirror of https://github.com/dapr/docs.git
updates to the yaml section
Signed-off-by: Hannah Hunter <hannahhunter@microsoft.com>
This commit is contained in:
parent
225736deee
commit
abb5cc967a
|
@ -41,13 +41,12 @@ spec:
|
||||||
pubsubname: pubsub
|
pubsubname: pubsub
|
||||||
scopes:
|
scopes:
|
||||||
- orderprocessing
|
- orderprocessing
|
||||||
- checkout
|
|
||||||
```
|
```
|
||||||
|
|
||||||
Here the subscription called `order`:
|
Here the subscription called `order`:
|
||||||
- Uses the pub/sub component called `pubsub` to subscribes to the topic called `orders`.
|
- Uses the pub/sub component called `pubsub` to subscribes to the topic called `orders`.
|
||||||
- Sets the `route` field to send all topic messages to the `/orders` endpoint in the app.
|
- Sets the `route` field to send all topic messages to the `/orders` endpoint in the app.
|
||||||
- Sets `scopes` field to scope this subscription for access only by apps with IDs `orderprocessing` and `checkout`.
|
- Sets `scopes` field to scope this subscription for access only by apps with ID `orderprocessing`.
|
||||||
|
|
||||||
When running Dapr, set the YAML component file path to point Dapr to the component.
|
When running Dapr, set the YAML component file path to point Dapr to the component.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue