File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
docs/eventing/samples/kafka Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ You must also have the following tools installed:
1919
2020Install the ` KafkaChannel ` sub-component on your Knative Eventing cluster:
2121 ```
22- curl -L "https://github. com/knative/eventing-contrib/releases/download/v0.10.1 /kafka-channel.yaml" \
22+ curl -L "https://storage.googleapis. com/knative-releases /eventing-contrib/latest /kafka-channel.yaml" \
2323 | sed 's/REPLACE_WITH_CLUSTER_URL/my-cluster-kafka-bootstrap.kafka:9092/' \
2424 | kubectl apply --filename -
2525 ```
@@ -36,8 +36,8 @@ kind: KafkaChannel
3636metadata:
3737 name: my-kafka-channel
3838spec:
39- numPartitions: 1
40- replicationFactor: 3
39+ numPartitions: 3
40+ replicationFactor: 1
4141EOF
4242```
4343
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ You must ensure that you meet the [prerequisites listed in the Apache Kafka over
1616
17171 . Install the ` KafkaSource ` sub-component to your Knative cluster:
1818 ```
19- kubectl apply -f https://github. com/knative/eventing-contrib/releases/download/v0.10.1 /kafka-source.yaml
19+ kubectl apply -f https://storage.googleapis. com/knative-releases /eventing-contrib/latest /kafka-source.yaml
2020
2121 ```
22222 . Check that the ` kafka-controller-manager-0 ` pod is running.
@@ -188,7 +188,7 @@ You must ensure that you meet the [prerequisites listed in the Apache Kafka over
188188 ```
1891893 . Remove the Apache Kafka Event Controller
190190 ```
191- $ kubectl delete -f https://github. com/knative/eventing-contrib/releases/download/v0.10.1/ kafka-importer .yaml
191+ $ kubectl delete -f https://storage.googleapis. com/knative-releases /eventing-contrib/latest/ kafka-source .yaml
192192 serviceaccount "kafka-controller-manager" deleted
193193 clusterrole.rbac.authorization.k8s.io "eventing-sources-kafka-controller" deleted
194194 clusterrolebinding.rbac.authorization.k8s.io "eventing-sources-kafka-controller" deleted
You can’t perform that action at this time.
0 commit comments