Skip to content

EventBus

GA

v0.17.0 and after

EventBus is a Kubernetes Custom Resource which is used for event transmission from EventSources to Sensors. Currently, EventBus is backed by NATS, including both their NATS Streaming service and their newer Jetstream service. In the future, this can be expanded to support other technologies as well.

EventBus is namespaced; an EventBus object is required in a namespace to make EventSource and Sensor work.

The common practice is to create an EventBus named default in the namespace. If you want to use a different name, or you want to have multiple EventBus in one namespace, you need to specify eventBusName in the spec of EventSource and Sensor correspondingly, so that they can find the right one. See EventSource spec and Sensor spec.