-
Notifications
You must be signed in to change notification settings - Fork 24
Closed
Milestone
Description
Tools that adopt CDEvents may already have a set of events that they generate, and some of the existing events may not have a corresponding one in CDEvents.
In some cases it may be possible to add those events into the spec, however, in other cases, it may not be an option, as the events in question may be product-specific and (or) not relevant from an interoperability point of view.
CDEvents should provide a mechanism for such tools to adopt CDEvents without having to renounce those custom events and without having to ask consumers to adopt different SDKs for different event types.
A possible solution could be:
- Define a
dev.cdeventsx
namespace - Tools MUST use that namespace to define their custom events
- The event types MUST follow the following rules:
- The overall structure must be compatible with https://github.com/cdevents/spec/blob/v0.3.0/spec.md#type-context, expect for the
dev.cdeventsx
namespace instead ofdev.cdevents
- The subject MUST be in the format
<tool-name>-<subject-name>
to avoid conflicts across tools
- The overall structure must be compatible with https://github.com/cdevents/spec/blob/v0.3.0/spec.md#type-context, expect for the
- Tools MAY host the schema for the events
- The CDEvents SDK must be able to parse partially custom events, validating the context part and returning a raw payload for the subject
Metadata
Metadata
Assignees
Labels
No labels