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
I think if the event type was more generic, and the version would be stored on among the metadata of an event (instead of the event type itself) we have a cleaner design. In CloudEvent this could be done via an extension.
The same approach is now also take by the CNCF xregistry (spin-off from CloudEvents), event/message definitions can be grouped, and each definition/message (aka event) can have its own version as metadata/property: https://github.com/xregistry/spec/blob/main/message/spec.md
The text was updated successfully, but these errors were encountered:
Feature request
I see that there are a couple of Tekton events, that have their version hard coded into their type/fqn. See:
triggers/pkg/reconciler/events/event.go
Lines 25 to 35 in 176dc0f
I think if the event type was more generic, and the version would be stored on among the metadata of an event (instead of the event type itself) we have a cleaner design. In CloudEvent this could be done via an extension.
The same approach is now also take by the CNCF xregistry (spin-off from CloudEvents), event/message definitions can be grouped, and each definition/message (aka event) can have its own version as metadata/property:
https://github.com/xregistry/spec/blob/main/message/spec.md
The text was updated successfully, but these errors were encountered: