Skip to content

Event type extensions for adopting tools #168

@afrittoli

Description

@afrittoli

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:
  • 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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions