start example

Signed-off-by: Hannah Hunter <hannahhunter@microsoft.com>
This commit is contained in:
Hannah Hunter 2023-06-14 12:05:44 -04:00
parent cda992a511
commit 79ff44e323
1 changed files with 7 additions and 7 deletions

View File

@ -84,24 +84,24 @@ The following metadata can't be overridden:
- `datacontenttype` - `datacontenttype`
{{% /alert %}} {{% /alert %}}
For example, to override the values from [the CloudEvent example]({{< ref "#cloudevents-example" >}}) above: For example, to override the applicable values from [the first CloudEvent example above]({{< ref "#cloudevents-example" >}}):
```json ```json
{ {
"topic": "orders", "topic": "orders",
"pubsubname": "order_pub_sub", "pubsubname": "order_pub_sub",
"traceid": "00-113ad9c4e42b27583ae98ba698d54255-e3743e35ff56f219-01", "cloudevent-traceid": "00-113ad9c4e42b27583ae98ba698d54255-e3743e35ff56f219-01",
"tracestate": "", "cloudevent-tracestate": "",
"data": { "data": {
"orderId": 1 "orderId": 1
}, },
"id": "5929aaac-a5e2-4ca1-859c-edfe73f11565", "cloudevent-id": "5929aaac-a5e2-4ca1-859c-edfe73f11565",
"specversion": "1.0", "specversion": "1.0",
"datacontenttype": "application/json; charset=utf-8", "datacontenttype": "application/json; charset=utf-8",
"source": "checkout", "cloudevent-source": "checkout",
"type": "com.dapr.event.sent", "cloudevent-type": "com.dapr.event.sent",
"time": "2020-09-23T06:23:21Z", "time": "2020-09-23T06:23:21Z",
"traceparent": "00-113ad9c4e42b27583ae98ba698d54255-e3743e35ff56f219-01" "cloudevent-traceparent": "00-113ad9c4e42b27583ae98ba698d54255-e3743e35ff56f219-01"
} }
``` ```