Knative: Operator’s Handbook

Feeding events into Sequence

Sequence can be fed events from an event source or from a Trigger.

Here’s an event source, CronJobSource, that feeds events to a Sequence on a schedule:

apiVersion: sources.eventing.knative.dev/v1alpha1
kind: CronJobSource
...
spec:
  ...
  sink:
    ref:
      apiVersion: flows.knative.dev/v1alpha1
      kind: Sequence
      name: sequence

Here’s a Trigger with a Sequence as its subscriber:

apiVersion: eventing.knative.dev/v1alpha1
kind: Trigger
...
spec:
  ...
  subscriber:
    ref:
      apiVersion: flows.knative.dev/v1alpha1
      kind: Sequence
      name: sequence