From 6b1bac1e6983c0dcadcdb329a77bb681dc5dfaea Mon Sep 17 00:00:00 2001 From: Matthias Wessendorf Date: Wed, 22 Jan 2020 18:55:24 +0100 Subject: [PATCH] Updating to LATEST for Kafka Channel/Source (#2121) * Updating to LATEST for Kafka Channel/Source * Switching the values to 1 replica, but 3 partitions --- docs/eventing/samples/kafka/channel/README.md | 6 +++--- docs/eventing/samples/kafka/source/README.md | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/eventing/samples/kafka/channel/README.md b/docs/eventing/samples/kafka/channel/README.md index ba1c4321f..d55bd218b 100644 --- a/docs/eventing/samples/kafka/channel/README.md +++ b/docs/eventing/samples/kafka/channel/README.md @@ -19,7 +19,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.10.1/kafka-channel.yaml" \ + curl -L "https://storage.googleapis.com/knative-releases/eventing-contrib/latest/kafka-channel.yaml" \ | sed 's/REPLACE_WITH_CLUSTER_URL/my-cluster-kafka-bootstrap.kafka:9092/' \ | kubectl apply --filename - ``` @@ -36,8 +36,8 @@ kind: KafkaChannel metadata: name: my-kafka-channel spec: - numPartitions: 1 - replicationFactor: 3 + numPartitions: 3 + replicationFactor: 1 EOF ``` diff --git a/docs/eventing/samples/kafka/source/README.md b/docs/eventing/samples/kafka/source/README.md index 4cebe56e3..d3b27960e 100644 --- a/docs/eventing/samples/kafka/source/README.md +++ b/docs/eventing/samples/kafka/source/README.md @@ -16,7 +16,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.10.1/kafka-source.yaml + kubectl apply -f https://storage.googleapis.com/knative-releases/eventing-contrib/latest/kafka-source.yaml ``` 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 ``` 3. Remove the Apache Kafka Event Controller ``` - $ kubectl delete -f https://github.com/knative/eventing-contrib/releases/download/v0.10.1/kafka-importer.yaml + $ kubectl delete -f https://storage.googleapis.com/knative-releases/eventing-contrib/latest/kafka-source.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