Skip to content

EventTypes should be registered by the EventType controller only #2484

@lionelvillard

Description

@lionelvillard

Problem
Today each source implementation creates EventType objects. This is an unnecessary burden for the Source implementors.

An EventType consists of:

  • a type. Those are available in the source CRD
  • a source. Unique per source instance. Should be part of the Source status
  • a broker, a schema and a description. All these fields can easily be populated by the EventType controller

Persona:
Which persona is this feature for?
Source developer

Exit Criteria
A measurable (binary) test that would indicate that the problem has been resolved.

Time Estimate (optional):
How many developer-days do you think this may take to resolve?
1-2

Additional context (optional)
Add any other context about the feature request here.

knative/eventing-contrib#653
knative/eventing-contrib#388

/cc @nachocano @n3wscott @vaikas

Metadata

Metadata

Assignees

Labels

area/eventingThe Eventing api groupkind/feature-requestpriority/important-soonMust be staffed and worked on either currently, or very soon, ideally in time for the next release.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions