Knative Eventing connects event producers and consumers through declarative event sources, CloudEvents, routing, and delivery endpoints. Sources can expose events from Kubernetes, GitHub, GitLab, RabbitMQ, Kafka, or custom systems. section 9.2.4
A practical pipeline stores incoming CloudEvents, routes selected events to transformation functions, maps them to CDEvents, and calculates metrics from the transformed stream. PostgreSQL can store raw events, transformed events, and calculated results. section 9.2.7
The platform supports an implementation workflow built around declarative sources and staged processing:
- Install an existing source or create a custom source for an existing event producer. section 9.2.4
- Filter broadly at later stages when source volume is high, allowing metric definitions to evolve without changing collection. section 9.2.4
Capturing deployment events
Configure an ApiServerSource to watch Kubernetes Event resources and send them to cloudevents-raw-service in the dora-cloudevents namespace. Each created, modified, or deleted deployment can produce a CloudEvent for storage and later transformation into a CDEvent used in deployment-frequency calculations. section 9.2.4

