Skip to content


A Transformation translates the message contained in incoming events and publishes them into a different format.


Transformation examples include annotating incoming events with timestamps, dropping fields, or rearranging data to fit an expected format.

There is an example of Doing a Transformation available under Guides.

Transformations may be done declaratively or through a function.

API Reference

Transformation is documented in the API Reference


The specification of each target is available through kubectl explain. For example:

kubectl explain transformation.spec
KIND:     Transformation

RESOURCE: spec <Object>

     Desired state of the transformation object.

   context  <[]Object>
     CloudEvents Context attributes transformation spec.

   data <[]Object>
     CloudEvents Data transformation spec.

   sink <Object>
     The destination of events sourced from the transformation object.
Back to top