From 033a5f9c66f525087062c5f56c78ed9d1be92903 Mon Sep 17 00:00:00 2001 From: Matthias Wessendorf Date: Wed, 22 Jan 2020 13:59:14 +0100 Subject: [PATCH 1/2] Updating to LATEST for Kafka Channel/Source --- docs/eventing/samples/kafka/channel/README.md | 2 +- docs/eventing/samples/kafka/source/README.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/eventing/samples/kafka/channel/README.md b/docs/eventing/samples/kafka/channel/README.md index ba1c4321f69..4e1f9498723 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 - ``` diff --git a/docs/eventing/samples/kafka/source/README.md b/docs/eventing/samples/kafka/source/README.md index 4cebe56e3a5..d3b27960e3b 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 From 13b6d7aa44451def02457b65657b9facebb1d5c7 Mon Sep 17 00:00:00 2001 From: Matthias Wessendorf Date: Wed, 22 Jan 2020 14:09:39 +0100 Subject: [PATCH 2/2] Switching the values to 1 replica, but 3 partitions --- docs/eventing/samples/kafka/channel/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/eventing/samples/kafka/channel/README.md b/docs/eventing/samples/kafka/channel/README.md index 4e1f9498723..d55bd218bde 100644 --- a/docs/eventing/samples/kafka/channel/README.md +++ b/docs/eventing/samples/kafka/channel/README.md @@ -36,8 +36,8 @@ kind: KafkaChannel metadata: name: my-kafka-channel spec: - numPartitions: 1 - replicationFactor: 3 + numPartitions: 3 + replicationFactor: 1 EOF ```