File tree Expand file tree Collapse file tree 4 files changed +15
-12
lines changed
docs/eventing/samples/kafka Expand file tree Collapse file tree 4 files changed +15
-12
lines changed Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ You must also have the following tools installed:
2121
2222Install 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 ```
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ You must ensure that you meet the [prerequisites listed in the Apache Kafka over
1818
19191 . 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 ```
24242 . 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
1171181 . Deploy the event source.
@@ -189,7 +190,7 @@ You must ensure that you meet the [prerequisites listed in the Apache Kafka over
189190 ```
1901913 . 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
Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments