liveBook · Manning

Knative Eventing

As explained in Platform Engineering on Kubernetes

Knative Eventing is a Kubernetes-based eventing system for connecting event producers and consumers through event-driven resources and delivery mechanisms.

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

How Platform Engineering on Kubernetes covers it

How deep it goes
Explains source configuration and end-to-end routing, while deferring detailed filtering and transformation implementations.
Examples
Uses ApiServerSource to capture Kubernetes deployment events and store CloudEvents before transformation and metric calculation.
What it assumes
Assumes a Kubernetes cluster and installed components, while introducing event-source configuration and CloudEvents collection.
What you can do after
Operate/configure declarative event sources and route CloudEvents into storage, transformation, and metric-processing components.
How it connects
Connects event sources with CloudEvents, CDEvents, Kubernetes, PostgreSQL, routing, transformation, and DORA metrics.

Also explained in

Compare how 2 books explain Knative Eventing →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Platform Engineering on Kubernetes. The section links point to the parts of the book it draws on.