Knative Eventing¶
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.
architecture-beta
group eventing[Eventing]
group sources[Event Sources]
service source(cloud)[Event Source] in sources
service broker(database)[Broker] in eventing
service trigger(server)[Trigger] in eventing
service sink(internet)[Event Target]
source{group}:T --> B:broker
broker:R -- L:trigger
trigger:B --> T:sink
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.
New to Eventing? Start with Try Eventing to send a CloudEvent through a Broker and deliver it with a Trigger, or follow the Bookstore tutorial for a multi-service app.
What do you want to do?¶
- Route events with Brokers and Triggers — Create a Broker, compare Broker types, filter events with Triggers, and configure retries and dead-letter sinks in Delivery failures.
- Connect event producers — Choose a built-in producer in Event sources (Kubernetes API, schedules, Kafka, RabbitMQ, Redis Streams, or Camel integrations), or bind an existing workload with SinkBinding.
- Deliver to destinations — Send events to Knative Services, Kubernetes Services, JobSink, Kafka, or IntegrationSink in Event sinks.
- Compose pipelines and transformations — Chain steps with Sequences, fan out with Parallel, reshape payloads with Event transformations, or use Channels and Subscriptions directly.
- Observe and debug — Collect metrics in Observability or trace lost events in Troubleshooting.
- Install or administer Eventing — See Install and Manage for installation, Broker class defaults, and cluster-wide settings.