DEV Community

Cover image for Knative eventing - examples
Ashok Nagaraj
Ashok Nagaraj

Posted on

Knative eventing - examples

Examples

GitHub repo

install/

To create knative resources

eventing.sh  #to create knative eventing resources
kafka-broker.sh  #to create kafka resources for knative eventing
kafka-cluster.sh  #to create a in-cluster kafka cluster
serving.sh  #to create knative serving resources
Enter fullscreen mode Exit fullscreen mode

Alternate use kn quickstart kind to create a cluster with serving and eventing installed

apisource/

Run example.sh to demo apisource that captures and prints kubernetes api server events

broker-trigger/

Run example.sh to demo a broker based routing with triggers to filter and route to different sinks

in-memory-channel/

Run example.sh to demo a simple InMemory channel implementation

pingsource/

Run example.sh to demo a ping-source to be used in cronjob kind of scenario to send predefined events periodically to the event pipeline

simple-sequence/

Run example.sh to demo a sequence of 3 services, passing the result to a final service


In-progress
  • kafka/ - to implement a demo from KafkaSource to KafkaSink
  • triggermesh/ - to implement sources and sinks(target) with HTTP servers and cloud-events

Top comments (0)