Skip to content

SinkBinding

API version v1

The SinkBinding object supports decoupling event production from delivery addressing.

You can use sink binding to direct a subject to a sink. A subject is a Kubernetes resource that embeds a PodSpec template and produces events. A sink is an addressable Kubernetes object that can receive events.

The SinkBinding object injects environment variables into the PodTemplateSpec of the sink. Because of this, the application code does not need to interact directly with the Kubernetes API to locate the event destination. These environment variables are as follows:

  • K_SINK - The URL of the resolved sink.
  • K_CE_OVERRIDES - A JSON object that specifies overrides to the outbound event.

We use analytics and cookies to understand site traffic. Information about your use of our site is shared with Google for that purpose. Learn more.

× OK