Knative: Operator’s Handbook

Consuming events

An event is typically consumed by a Knative or a Kubernetes Service. In Broker and Trigger Delivery, it is defined as a subscriber in a Trigger.

A Knative Service subscriber:

apiVersion: eventing.knative.dev/v1alpha1
kind: Trigger
metadata:
  name: trigger-event-display
spec:
  subscriber:
    ref:
      apiVersion: serving.knative.dev/v1
      kind: Service
      name: event-display

A Kubernetes Service subscriber:

apiVersion: eventing.knative.dev/v1alpha1
kind: Trigger
metadata:
  name: trigger-event-display
spec:
  subscriber:
    ref:
      apiVersion: v1
      kind: Service
      name: event-display

In Simple Delivery, a Service is defined as the only event sink and in Complex Delivery, it is defined as a subscriber to a Subscription of a Channel.