Skip to main content

CloudEvents

🟢 Supported

Collection Method​

Buz listens on a configurable endpoint for incoming POST requests of Cloudevents payloads.

This endpoint requires one of the following content types to be designated:

  • application/cloudevents+json (for single cloudevents)
  • application/cloudevents-batch+json (for a batch of cloudevents)
Please Note

If a Content-Type header is not specified, the event will not be accepted.

Validation Method​

Buz validates incoming cloudevents using the dataschema property of each event.

Please Note

Events without a dataschema property will be redirected to the invalid sink(s).

Sample Cloudevents Configuration​

cloudevents:
enabled: true # Whether or not to enable the Cloudevents collection endpoint
path: /ce/p # Path for incoming (single or batch) cloudevents