-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(guidelines): add new rule for sending durable event ids (#77)
- Loading branch information
1 parent
2997ff4
commit e545401
Showing
2 changed files
with
15 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
...idelines/async/semantics/event-structure/rules/should-send-durable-event-ids.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- | ||
id: R000058 | ||
--- | ||
|
||
# SHOULD send durable event IDs | ||
|
||
An event is a message that contains information about something factual that occurred in the past. | ||
Each event must have an ID that identifies the event. | ||
The event ID should be the same for retries or when sending via multiple channels. Consumers should assume that events with an identical source and ID are duplicates. | ||
|
||
::: references | ||
|
||
- [id message attribute in cloud event spec](https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#id) | ||
::: |