docs/code-samples/eventing/parallel/README.md

30 lines
834 B
Markdown

# Parallel Example
The following examples will help you understand how to use Parallel to describe
various flows.
## Prerequisites
All examples require:
- A Kubernetes cluster with
- Knative Eventing
- Knative Serving
All examples are using the
[default channel template](https://knative.dev/docs/eventing/channels/create-default-channel).
## Examples
Each of the following examples use
[`PingSource`](https://knative.dev/docs/eventing/sources/ping-source/) as the source of events.
We also use simple
[functions](https://github.com/lionelvillard/knative-functions) to perform
trivial filtering, transformation and routing of the incoming events.
The examples are:
- [Parallel with multiple branches and global reply](multiple-branches/README.md)
- [Parallel with mutually exclusive cases](mutual-exclusivity/README.md)