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
7 changes: 4 additions & 3 deletions docs/eventing/samples/kafka/channel/020-k8s-events.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ spec:
- apiVersion: v1
kind: Event
sink:
apiVersion: eventing.knative.dev/v1alpha1
kind: Broker
name: default
ref:
apiVersion: eventing.knative.dev/v1alpha1
kind: Broker
name: default
2 changes: 1 addition & 1 deletion docs/eventing/samples/kafka/channel/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ You must also have the following tools installed:

Install the `KafkaChannel` sub-component on your Knative Eventing cluster:
```
curl -L "https://github.com/knative/eventing-contrib/releases/download/v0.9.0/kafka-channel.yaml" \
curl -L "https://github.com/knative/eventing-contrib/releases/download/v0.10.1/kafka-channel.yaml" \
| sed 's/REPLACE_WITH_CLUSTER_URL/my-cluster-kafka-bootstrap.kafka:9092/' \
| kubectl apply --filename -
```
Expand Down
11 changes: 6 additions & 5 deletions docs/eventing/samples/kafka/source/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ You must ensure that you meet the [prerequisites listed in the Apache Kafka over

1. Install the `KafkaSource` sub-component to your Knative cluster:
```
kubectl apply -f https://github.com/knative/eventing-contrib/releases/download/v0.9.0/kafka-source.yaml
kubectl apply -f https://github.com/knative/eventing-contrib/releases/download/v0.10.1/kafka-source.yaml

```
2. Check that the `kafka-controller-manager-0` pod is running.
Expand Down Expand Up @@ -109,9 +109,10 @@ You must ensure that you meet the [prerequisites listed in the Apache Kafka over
bootstrapServers: my-cluster-kafka-bootstrap.kafka:9092 #note the kafka namespace
topics: knative-demo-topic
sink:
apiVersion: serving.knative.dev/v1
kind: Service
name: event-display
ref:
apiVersion: serving.knative.dev/v1
kind: Service
name: event-display
```

1. Deploy the event source.
Expand Down Expand Up @@ -189,7 +190,7 @@ You must ensure that you meet the [prerequisites listed in the Apache Kafka over
```
3. Remove the Apache Kafka Event Controller
```
$ kubectl delete -f https://github.com/knative/eventing-contrib/releases/download/v0.9.0/kafka-importer.yaml
$ kubectl delete -f https://github.com/knative/eventing-contrib/releases/download/v0.10.1/kafka-importer.yaml
serviceaccount "kafka-controller-manager" deleted
clusterrole.rbac.authorization.k8s.io "eventing-sources-kafka-controller" deleted
clusterrolebinding.rbac.authorization.k8s.io "eventing-sources-kafka-controller" deleted
Expand Down
7 changes: 4 additions & 3 deletions docs/eventing/samples/kafka/source/event-source.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ spec:
cpu: 250m
memory: 512Mi
sink:
apiVersion: serving.knative.dev/v1
kind: Service
name: event-display
ref:
apiVersion: serving.knative.dev/v1
kind: Service
name: event-display