apiVersion: messaging.knative.dev/v1beta1
kind: Subscription
metadata:
name: my-subscription (1)
namespace: default
spec:
channel: (2)
apiVersion: messaging.knative.dev/v1beta1
kind: Channel
name: example-channel
delivery: (3)
deadLetterSink:
ref:
apiVersion: serving.knative.dev/v1
kind: Service
name: error-handler
subscriber: (4)
ref:
apiVersion: serving.knative.dev/v1
kind: Service
name: event-display