This version of the documentation is no longer actively maintained. The site that you are currently viewing is an archived snapshot.

For up-to-date documentation, see the latest version.

Creating an event source by using the sample event source

This guide explains how to create your own event source for Knative Eventing by using a sample repository, and explains the key concepts behind each required component. Documentation for the default Knative event sources can be used as an additional reference.

After completing the provided tutorial, you will have created a basic event source controller and a receive adapter. Events can be viewed by using the event_display Knative service.

Prerequisites

  • You are familiar with Kubernetes and Go development.
  • You have installed Git.
  • You have installed Go.
  • Clone the sample source.

Optional:

Steps

  1. Separation of Concerns
  2. API Definition
  3. Controller
  4. Reconciler
  5. Receive Adapter
  6. Example YAML
  7. Moving the event source to the knative-sandbox organization