The following examples will help you understand how to use Choice to describe various flows.
All examples require:
- A Kubernetes cluster with
- Knative Eventing v0.8+
- Knative Service v0.8+
All examples are using the default channel template.
For each of these examples below, we’ll use
CronJobSource as the source of events.
We also use simple functions to perform trivial filtering, transformation and routing of the incoming events.
The examples are: