Skip to content

Commit f4c9b56

Browse files
matzewknative-prow-robot
authored andcommitted
updates for kafka based on 0.10.x release (#1996)
1 parent 51bec18 commit f4c9b56

File tree

4 files changed

+15
-12
lines changed

4 files changed

+15
-12
lines changed

docs/eventing/samples/kafka/channel/020-k8s-events.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ spec:
1010
- apiVersion: v1
1111
kind: Event
1212
sink:
13-
apiVersion: eventing.knative.dev/v1alpha1
14-
kind: Broker
15-
name: default
13+
ref:
14+
apiVersion: eventing.knative.dev/v1alpha1
15+
kind: Broker
16+
name: default

docs/eventing/samples/kafka/channel/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ You must also have the following tools installed:
2121

2222
Install the `KafkaChannel` sub-component on your Knative Eventing cluster:
2323
```
24-
curl -L "https://github.com/knative/eventing-contrib/releases/download/v0.9.0/kafka-channel.yaml" \
24+
curl -L "https://github.com/knative/eventing-contrib/releases/download/v0.10.1/kafka-channel.yaml" \
2525
| sed 's/REPLACE_WITH_CLUSTER_URL/my-cluster-kafka-bootstrap.kafka:9092/' \
2626
| kubectl apply --filename -
2727
```

docs/eventing/samples/kafka/source/README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ You must ensure that you meet the [prerequisites listed in the Apache Kafka over
1818

1919
1. Install the `KafkaSource` sub-component to your Knative cluster:
2020
```
21-
kubectl apply -f https://github.com/knative/eventing-contrib/releases/download/v0.9.0/kafka-source.yaml
21+
kubectl apply -f https://github.com/knative/eventing-contrib/releases/download/v0.10.1/kafka-source.yaml
2222
2323
```
2424
2. Check that the `kafka-controller-manager-0` pod is running.
@@ -109,9 +109,10 @@ You must ensure that you meet the [prerequisites listed in the Apache Kafka over
109109
bootstrapServers: my-cluster-kafka-bootstrap.kafka:9092 #note the kafka namespace
110110
topics: knative-demo-topic
111111
sink:
112-
apiVersion: serving.knative.dev/v1
113-
kind: Service
114-
name: event-display
112+
ref:
113+
apiVersion: serving.knative.dev/v1
114+
kind: Service
115+
name: event-display
115116
```
116117

117118
1. Deploy the event source.
@@ -189,7 +190,7 @@ You must ensure that you meet the [prerequisites listed in the Apache Kafka over
189190
```
190191
3. Remove the Apache Kafka Event Controller
191192
```
192-
$ kubectl delete -f https://github.com/knative/eventing-contrib/releases/download/v0.9.0/kafka-importer.yaml
193+
$ kubectl delete -f https://github.com/knative/eventing-contrib/releases/download/v0.10.1/kafka-importer.yaml
193194
serviceaccount "kafka-controller-manager" deleted
194195
clusterrole.rbac.authorization.k8s.io "eventing-sources-kafka-controller" deleted
195196
clusterrolebinding.rbac.authorization.k8s.io "eventing-sources-kafka-controller" deleted

docs/eventing/samples/kafka/source/event-source.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ spec:
7070
cpu: 250m
7171
memory: 512Mi
7272
sink:
73-
apiVersion: serving.knative.dev/v1
74-
kind: Service
75-
name: event-display
73+
ref:
74+
apiVersion: serving.knative.dev/v1
75+
kind: Service
76+
name: event-display

0 commit comments

Comments
 (0)