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 Timescale

🚀 pgai Vectorizer: SQLAlchemy and LiteLLM Make Vector Search Simple

We built pgai Vectorizer to simplify embedding management for AI applications—without needing a separate database or complex infrastructure. Since launch, developers have created over 3,000 vectorizers on Timescale Cloud, with many more self-hosted.

Read more

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

Retry later