From 3d097d9008fb5f31772d8f1d4950380ace53e4b8 Mon Sep 17 00:00:00 2001 From: Lukasz Rajewski Date: Mon, 2 Oct 2023 13:10:15 +0200 Subject: [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 Change-Id: I9e5871255fe72526417a17a407b411ba94d27000 --- kubernetes/strimzi/templates/strimzi-kafka.yaml | 1 + kubernetes/strimzi/values.yaml | 1 + 2 files changed, 2 insertions(+) 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 -- cgit 1.2.3-korg