A Knative Trigger filters events captured by a Broker and routes matching events to a target Service. It separates event selection from event transport, allowing one Broker to serve multiple event-driven consumers. section 9.3.3
A Trigger defines:
- The Broker from which it receives events. section 9.3.3
- CloudEvent attributes used for filtering, such as type and source. section 9.3.3
- A subscriber reference identifying the target Kubernetes or Knative Service. section 9.3.3
Route matching events to a service
A Trigger named helloworld-python listens to the default Broker, selects events with type dev.knative.samples.helloworld and source dev.knative.samples/helloworldsource, and sends matches to the helloworld-python Service. section 9.3.3
Use the architecture figure to trace events from external sources through a Broker and Trigger to a Service. section 9.3.3
