What’s New in Knative Eventing V.0.8


New Features

New Custom Resource Definitions: Choice

apiVersion: messaging.knative.dev/v1alpha1
kind: Choice
name: check-assignment
apiVersion: messaging.knative.dev/v1alpha1
kind: InMemoryChannel
- filter:
apiVersion: serving.knative.dev/v1alpha1
kind: Service
name: data-assigned
apiVersion: serving.knative.dev/v1alpha1
kind: Service
name: send-notice
  • ChannelTemplate: sets the channel to be used.
  • Cases: indicates the selection conditions.
  • Filter: indicates the filtering conditions. In this case, events are filtered by service.
  • Subscriber: indicates the service that is sent at last after the events are filtered.

Default Channel

apiVersion: messaging.knative.dev/v1alpha1
kind: Channel
name: default-channel
namespace: default
apiVersion: v1
kind: ConfigMap
name: default-ch-webhook
namespace: knative-eventing
default-ch-config: |
apiVersion: messaging.knative.dev/v1alpha1
kind: InMemoryChannel
apiVersion: messaging.knative.dev/v1alpha1
kind: KafkaChannel
numPartitions: 2
replicationFactor: 1
  • clusterDefault: (InMemoryChannel) Default channel at the cluster level.
  • namespaceDefaults: (KafkaChannel) Default channel at the namespace level.


Enhanced Monitoring

  • Webhook supports the statistical feature.
  • Grafana and Prometheus support the collection of Eventing metrics.
  • Metric measurement is added to Broker Ingress.

Resource Name Customization

Other Features

  • CronJobSource and ApiServerSource support the registration of event types.
  • Cloud Event attributes are filtered in the trigger filter.

Other Major Changes

  • The path github.com/knative/pkg is updated to knative.dev/pkg. Note that this change may affect the setting of Knative dependency packages used during code development.
  • Broker’s Ingress Handler and metrics are moved to the pkg folder.
  • All resource objects in Eventing are tagged with eventing.knative.dev/release based on the policy in Serving. It is possible to set the value to the release version or devel.
  • Kafka channels are transferred to knative-eventing-contrib.
  • In Triggers, the sourceAndType attribute will be abandoned soon, and an Attributes field will be added. This field supports both standard CloudEvents attributes and extended attributes.


Original Source:



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Alibaba Cloud

Alibaba Cloud

Follow me to keep abreast with the latest technology news, industry insights, and developer trends. Alibaba Cloud website:https://www.alibabacloud.com