Knative: Operator’s Handbook

Simple Delivery

In simple 1:1 delivery, an Event Source sends messages directly to a Service:

Simple Delivery diagram

For example, here is a CronJobSource, an in-memory Event Source that fires events based on given cron schedule, sending messages directly to a Service:

apiVersion: sources.eventing.knative.dev/v1alpha1
kind: CronJobSource
metadata:
  name: source
spec:
  schedule: "* * * * *"
  data: '{"message": "Hello world from cron!"}'
  sink:
    apiVersion: serving.knative.dev/v1
    kind: Service
    name: service