You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/content/how-to-guides/configure-reactions/configure-post-pubsub-reaction/_index.md
+16-1Lines changed: 16 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,22 @@ description: >
9
9
10
10
The `PostDaprPubSub` Reaction forwards change events and control signals from Drasi Continuous Queries to specified [Dapr publish/subscribe topics](https://docs.dapr.io/developing-applications/building-blocks/pubsub/pubsub-overview/). This enables Dapr-enabled microservices to react to sophisticated, real-time data changes detected by Drasi in various backend systems.
11
11
12
-
Messages are published as [CloudEvents](httpsa://cloudevents.io/), with the Drasi event (either in "packed" or "unpacked" format) contained within the `data` field of the CloudEvent.
12
+
Messages are published as [CloudEvents](https://cloudevents.io/), with the Drasi event (either in "packed" or "unpacked" format) contained within the `data` field of the CloudEvent.
13
+
14
+
### CloudEvent Envelope Structure
15
+
16
+
All events published by this reaction include the following CloudEvents attributes:
17
+
18
+
| Attribute | Description | Example |
19
+
|-----------|-------------|---------|
20
+
|`specversion`| CloudEvents specification version |`"1.0"`|
21
+
|`type`| Event type identifier |`"com.dapr.event.sent"`|
22
+
|`source`| Identifies the reaction instance |`"stock-notifications-publisher-reaction"`|
0 commit comments