Knative Eventing - The Event-driven application platform for Kubernetes

Knative Eventing is a collection of APIs that enable you to use an event-driven architecture with your applications. You can use these APIs to create components that route events from event producers (known as sources) to event consumers (known as sinks) that receive events. Sinks can also be configured to respond to HTTP requests by sending a response event.

Knative Eventing is a standalone platform that provides support for various types of workloads, including standard Kubernetes Services and Knative Serving Services.

Knative Eventing uses standard HTTP POST requests to send and receive events between event producers and sinks. These events conform to the CloudEvents specifications, which enables creating, parsing, sending, and receiving events in any programming language.

Knative Eventing components are loosely coupled, and can be developed and deployed independently of each other. Any producer can generate events before there are active event consumers that are listening for those events. Any event consumer can express interest in a class of events before there are producers that are creating those events.

Examples of supported Knative Eventing use cases:

  • Publish an event without creating a consumer. You can send events to a broker as an HTTP POST, and use binding to decouple the destination configuration from your application that produces events.

  • Consume an event without creating a publisher. You can use a trigger to consume events from a broker based on event attributes. The application receives events as an HTTP POST.

Tip

Multiple event producers and sinks can be used together to create more advanced Knative Eventing flows to solve complex use cases.

Eventing examples

Knative Eventing overview - 图1 Creating and responding to Kubernetes API events

Knative Eventing overview - 图2 Creating an image processing pipeline

Knative Eventing overview - 图3 Facilitating AI workloads at the edge in large-scale, drone-powered sustainable agriculture projects

Next steps

  • You can install Knative Eventing by using the methods listed on the installation page.