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:
|
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/' \
|
| sed 's/REPLACE_WITH_CLUSTER_URL/my-cluster-kafka-bootstrap.kafka:9092/' \
|
||||||
| kubectl apply --filename -
|
| kubectl apply --filename -
|
||||||
```
|
```
|
||||||
|
@ -36,8 +36,8 @@ kind: KafkaChannel
|
||||||
metadata:
|
metadata:
|
||||||
name: my-kafka-channel
|
name: my-kafka-channel
|
||||||
spec:
|
spec:
|
||||||
numPartitions: 1
|
numPartitions: 3
|
||||||
replicationFactor: 3
|
replicationFactor: 1
|
||||||
EOF
|
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:
|
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.
|
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
|
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
|
serviceaccount "kafka-controller-manager" deleted
|
||||||
clusterrole.rbac.authorization.k8s.io "eventing-sources-kafka-controller" deleted
|
clusterrole.rbac.authorization.k8s.io "eventing-sources-kafka-controller" deleted
|
||||||
clusterrolebinding.rbac.authorization.k8s.io "eventing-sources-kafka-controller" deleted
|
clusterrolebinding.rbac.authorization.k8s.io "eventing-sources-kafka-controller" deleted
|
||||||
|
|
Loading…
Reference in New Issue