Skip to content

Commit

Permalink
doc: add link to allowed kafka topic config options
Browse files Browse the repository at this point in the history
Signed-off-by: Calum Murray <cmurray@redhat.com>
  • Loading branch information
Cali0707 authored and knative-prow-robot committed Feb 9, 2024
1 parent 51e8f33 commit 75ddfbc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions docs/eventing/brokers/broker-types/kafka-broker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ different `name` on your Kafka Broker's `spec.config` field.
!!! note
The `default.topic.replication.factor` value must be less than or equal to the number of Kafka broker instances in your cluster. For example, if you only have one Kafka broker, the `default.topic.replication.factor` value should not be more than `1`.
Knative supports the full set of topic config options that your version of Kafka supports. To set any of these, you need to add a key to the configmap with the `default.topic.config.` prefix.
Knative supports the [full set of topic config options that your version of Kafka supports](https://kafka.apache.org/documentation/#topicconfigs). To set any of these, you need to add a key to the configmap with the `default.topic.config.` prefix.
For example, to set the `retention.ms` value you would modify the `ConfigMap` to look like the following:
```yaml
Expand All @@ -133,7 +133,6 @@ data:
default.topic.config.retention.ms: "3600"
```
## Set as default broker implementation
To set the Kafka broker as the default implementation for all brokers in the Knative deployment,
Expand Down

0 comments on commit 75ddfbc

Please sign in to comment.