From 3fff6b2404cfc6bce51bb5640119cd460c70901c Mon Sep 17 00:00:00 2001 From: Simon Ehrenstein <simon.ehrenstein@gmail.com> Date: Fri, 18 Feb 2022 13:25:50 +0100 Subject: [PATCH] Set default kafka properties --- helm/templates/strimzi/kafka-cluster.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/helm/templates/strimzi/kafka-cluster.yaml b/helm/templates/strimzi/kafka-cluster.yaml index 29356d391..87f5e67c6 100644 --- a/helm/templates/strimzi/kafka-cluster.yaml +++ b/helm/templates/strimzi/kafka-cluster.yaml @@ -19,6 +19,12 @@ spec: configMapKeyRef: name: kafka-metrics key: kafka-metrics-config.yml + config: + message.max.bytes: "134217728" # 128 MB + replica.fetch.max.bytes: "134217728" #128 MB + auto.create.topics.enable: false + log.retention.ms: "7200000" # 2h + metrics.sample.window.ms: "5000" #5s kafkaExporter: {} -- GitLab