DEV Community

Cover image for Knative eventing - examples
Ashok Nagaraj
Ashok Nagaraj

Posted on

3

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

Image of Datadog

How to Diagram Your Cloud Architecture

Cloud architecture diagrams provide critical visibility into the resources in your environment and how they’re connected. In our latest eBook, AWS Solution Architects Jason Mimick and James Wenzel walk through best practices on how to build effective and professional diagrams.

Download the Free eBook

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay