Skip to content

Commit 6b1bac1

Browse files
matzewknative-prow-robot
authored andcommitted
Updating to LATEST for Kafka Channel/Source (#2121)
* Updating to LATEST for Kafka Channel/Source * Switching the values to 1 replica, but 3 partitions
1 parent d704f53 commit 6b1bac1

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ You must also have the following tools installed:
1919

2020
Install 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
3636
metadata:
3737
name: my-kafka-channel
3838
spec:
39-
numPartitions: 1
40-
replicationFactor: 3
39+
numPartitions: 3
40+
replicationFactor: 1
4141
EOF
4242
```
4343

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

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

1717
1. 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
```
2222
2. 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
```
189189
3. 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

0 commit comments

Comments
 (0)