mirror of https://github.com/knative/docs.git
Updating to LATEST for Kafka Channel/Source (#2121)
* Updating to LATEST for Kafka Channel/Source * Switching the values to 1 replica, but 3 partitions
This commit is contained in:
parent
d704f53646
commit
6b1bac1e69
|
@ -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
|
||||
```
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue