Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion config/nav.yml
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,6 @@ nav:
- GO: eventing/samples/helloworld/helloworld-go/README.md
- Python: eventing/samples/helloworld/helloworld-python/README.md
- Apache Kafka:
- Overview: eventing/samples/kafka/README.md
- Binding Example: eventing/samples/kafka/binding/README.md
- Channel Example: eventing/samples/kafka/channel/README.md
- ResetOffset Example: eventing/samples/kafka/resetoffset/README.md
Expand Down
14 changes: 2 additions & 12 deletions docs/admin/install/eventing/install-eventing-with-yaml.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,18 +50,8 @@ Follow the procedure for the Channel of your choice:

=== "Apache Kafka Channel"

1. [Install Apache Kafka for Kubernetes](../../../eventing/samples/kafka/README.md).

1. Install the Apache Kafka Channel by running the command:

```bash
curl -L "{{ artifact(org="knative-sandbox",repo="eventing-kafka",file="channel-consolidated.yaml")}}" \
| sed 's/REPLACE_WITH_CLUSTER_URL/my-cluster-kafka-bootstrap.kafka:9092/' \
| kubectl apply -f -
```

!!! tip
To learn more, try the [Apache Kafka Channel sample](../../../eventing/samples/kafka/channel/README.md).
1. Install [Strimzi](https://strimzi.io/quickstarts/).
1. Install the Apache Kafka Channel for Knative from the [`knative-sandbox` repository](https://github.com/knative-sandbox/eventing-kafka).

=== "Google Cloud Pub/Sub Channel"

Expand Down
8 changes: 1 addition & 7 deletions docs/developer/eventing/sources/README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
---
title: "Event sources"
weight: 20
type: "docs"
---

# Event sources

An event source is a Kubernetes custom resource (CR), created by a developer or cluster administrator, that acts as a link between an event producer and an event _sink_.
Expand Down Expand Up @@ -36,7 +30,7 @@ All Sources are part of the `sources` category.
| [AWS SQS](https://github.com/knative-sandbox/eventing-awssqs/tree/main/samples) | v1alpha1 | Knative | Brings [AWS Simple Queue Service](https://aws.amazon.com/sqs/) messages into Knative. The AwsSqsSource fires a new event each time an event is published on an [AWS SQS topic](https://aws.amazon.com/sqs/). |
| [Apache Camel](apache-camel-source/README.md) | N/A | Apache Software Foundation | Enables use of [Apache Camel](https://github.com/apache/camel) components for pushing events into Knative. Camel sources are now provided via [Kamelets](https://camel.apache.org/camel-kamelets/latest/) as part of the [Apache Camel K](https://camel.apache.org/camel-k/latest/installation/installation.html) project. |
| [Apache CouchDB](https://github.com/knative-sandbox/eventing-couchdb/blob/main/source) | v1alpha1 | Knative | Brings [Apache CouchDB](https://couchdb.apache.org/) messages into Knative. |
| [Apache Kafka](../../../eventing/samples/kafka/README.md) | v1beta1 | Knative | Brings [Apache Kafka](https://kafka.apache.org/) messages into Knative. The KafkaSource reads events from an Apache Kafka Cluster, and passes these events to a sink so that they can be consumed. See the [Kafka Source](https://github.com/knative-sandbox/eventing-kafka/blob/main/pkg/source) example for more details. |
| [Apache Kafka](kafka-source/README.md) | v1beta1 | Knative | Brings [Apache Kafka](https://kafka.apache.org/) messages into Knative. The KafkaSource reads events from an Apache Kafka Cluster, and passes these events to a sink so that they can be consumed. See the [Kafka Source](https://github.com/knative-sandbox/eventing-kafka/blob/main/pkg/source) example for more details. |
| [ContainerSource](containersource/README.md) | v1 | Knative | The ContainerSource will instantiate container image(s) that can generate events until the ContainerSource is deleted. This may be used, for example, to poll an FTP server for new files or generate events at a set time interval. Given a `spec.template` with at least a container image specified, ContainerSource will keep a `Pod` running with the specified image(s). `K_SINK` (destination address) and `KE_CE_OVERRIDES` (JSON CloudEvents attributes) environment variables are injected into the running image(s). It is used by multiple other Sources as underlying infrastructure. Refer to the [Container Source](../../../eventing/samples/container-source/README.md) example for more details. |
| [GitHub](../../../eventing/samples/github-source/README.md) | v1alpha1 | Knative | Registers for events of the specified types on the specified GitHub organization or repository, and brings those events into Knative. The GitHubSource fires a new event for selected [GitHub event types](https://developer.github.com/v3/activity/events/types/). See the [GitHub Source](../../../eventing/samples/github-source/README.md) example for more details. |
| [GitLab](../../../eventing/samples/gitlab-source/README.md) | v1alpha1 | Knative | Registers for events of the specified types on the specified GitLab repository, and brings those events into Knative. The GitLabSource creates a webhooks for specified [event types](https://docs.gitlab.com/ee/user/project/integrations/webhooks.html#events), listens for incoming events, and passes them to a consumer. See the [GitLab Source](../../../eventing/samples/gitlab-source/README.md) example for more details. |
Expand Down
8 changes: 0 additions & 8 deletions docs/eventing/samples/README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,3 @@
---
title: "Knative Eventing code samples"
linkTitle: "Code samples"
weight: 100
type: "docs"
showlandingtoc: "true"
---

# Knative Eventing code samples

Use the following code samples to help you understand the various use cases for
Expand Down
104 changes: 0 additions & 104 deletions docs/eventing/samples/kafka/README.md

This file was deleted.

9 changes: 0 additions & 9 deletions docs/eventing/samples/kafka/channel/000-ksvc.yaml

This file was deleted.

37 changes: 0 additions & 37 deletions docs/eventing/samples/kafka/channel/010-serviceaccount.yaml

This file was deleted.

16 changes: 0 additions & 16 deletions docs/eventing/samples/kafka/channel/020-k8s-events.yaml

This file was deleted.

12 changes: 0 additions & 12 deletions docs/eventing/samples/kafka/channel/030-trigger.yaml

This file was deleted.

Loading