@@ -133,7 +133,7 @@ If you are using Strimzi:
1331331. Modify `source/event-source.yaml` accordingly with bootstrap servers, topics, and so on:
134134
135135 ```yaml
136- apiVersion: sources.knative.dev/v1beta1
136+ apiVersion: sources.knative.dev/v1
137137 kind: KafkaSource
138138 metadata:
139139 name: kafka-source
@@ -187,7 +187,7 @@ Alternatively, if you are using a GitOps approach, you can add the `consumers` k
187187
188188```yaml
189189
190- apiVersion: sources.knative.dev/v1beta1
190+ apiVersion: sources.knative.dev/v1
191191 kind: KafkaSource
192192 metadata:
193193 name: kafka-source
@@ -253,7 +253,7 @@ The `KafkaSource` implements the `Delivery` Specificiation, allowing you to conf
253253
254254` ` ` yaml
255255
256- apiVersion: sources.knative.dev/v1beta1
256+ apiVersion: sources.knative.dev/v1
257257 kind: KafkaSource
258258 metadata:
259259 name: kafka-source
@@ -298,7 +298,7 @@ To specify the key deserializer, add the label `kafkasources.sources.knative.dev
298298` KafkaSource` definition, as shown in the following example:
299299
300300` ` ` yaml
301- apiVersion: sources.knative.dev/v1beta1
301+ apiVersion: sources.knative.dev/v1
302302kind: KafkaSource
303303metadata:
304304name: kafka-source
@@ -323,7 +323,7 @@ By default the `KafkaSource` starts consuming from the latest offset in each par
323323to consume from the earliest offset, set the initialOffset field to ` earliest` , for example:
324324
325325` ` ` yaml
326- apiVersion: sources.knative.dev/v1beta1
326+ apiVersion: sources.knative.dev/v1
327327kind: KafkaSource
328328metadata:
329329 name: kafka-source
@@ -368,7 +368,7 @@ KafkaSource expects these files to be in PEM format. If they are in another form
3683682. Apply the KafkaSource. Modify the ` bootstrapServers` and ` topics` fields accordingly.
369369
370370 ` ` ` yaml
371- apiVersion: sources.knative.dev/v1beta1
371+ apiVersion: sources.knative.dev/v1
372372 kind: KafkaSource
373373 metadata:
374374 name: kafka-source-with-tls
@@ -431,7 +431,7 @@ Simple Authentication and Security Layer (SASL) is used by Apache Kafka for auth
4314311. Create or modify a KafkaSource so that it contains the following spec options:
432432
433433 ```yaml
434- apiVersion: sources.knative.dev/v1beta1
434+ apiVersion: sources.knative.dev/v1
435435 kind: KafkaSource
436436 metadata:
437437 name: example-source
0 commit comments