diff options
author | Lukasz Rajewski <lukasz.rajewski@t-mobile.pl> | 2023-10-02 13:10:15 +0200 |
---|---|---|
committer | Andreas Geissler <andreas-geissler@telekom.de> | 2023-10-18 11:54:49 +0000 |
commit | 3d097d9008fb5f31772d8f1d4950380ace53e4b8 (patch) | |
tree | 4c2fa137198b271b65ac796651ef5c71459ec79b /kubernetes/strimzi | |
parent | 7a24e5fedfafeab43c80403759507960abb3c2b0 (diff) |
[STRIMZI] Add option to disable auto creation of kafka topics
Add option to disable auto creation of kafka topics.
Issue-ID: OOM-3244
Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl>
Change-Id: I9e5871255fe72526417a17a407b411ba94d27000
Diffstat (limited to 'kubernetes/strimzi')
-rw-r--r-- | kubernetes/strimzi/templates/strimzi-kafka.yaml | 1 | ||||
-rw-r--r-- | kubernetes/strimzi/values.yaml | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/kubernetes/strimzi/templates/strimzi-kafka.yaml b/kubernetes/strimzi/templates/strimzi-kafka.yaml index 421d93a6cb..4071aa03a6 100644 --- a/kubernetes/strimzi/templates/strimzi-kafka.yaml +++ b/kubernetes/strimzi/templates/strimzi-kafka.yaml @@ -81,6 +81,7 @@ spec: transaction.state.log.min.isr: {{ (eq 1.0 (.Values.replicaCount)) | ternary 1 (sub .Values.replicaCount 1) }} log.message.format.version: {{ .Values.config.kafkaVersion }} inter.broker.protocol.version: {{ .Values.config.kafkaVersion }} + auto.create.topics.enable: {{ .Values.config.autoCreateTopics }} storage: type: jbod volumes: diff --git a/kubernetes/strimzi/values.yaml b/kubernetes/strimzi/values.yaml index 95422db91a..bb22de7ebd 100644 --- a/kubernetes/strimzi/values.yaml +++ b/kubernetes/strimzi/values.yaml @@ -39,6 +39,7 @@ config: advertizedPortBroker0: &advertizedPortBroker0 9000 advertizedPortBroker1: &advertizedPortBroker1 9001 advertizedPortBroker2: &advertizedPortBroker2 9002 + autoCreateTopics: true persistence: enabled: &pvenabled true |