From 8579587b9377c9a91df0cdcd330ec621bd8a91cf Mon Sep 17 00:00:00 2001
From: garciadeblas <gerardo.garciadeblas@telefonica.com>
Date: Mon, 14 Oct 2024 15:33:04 +0200
Subject: [PATCH] Feature 11050: performance optimization in Kafka

Change-Id: I7fe1944fbbcc2fe8d899164d3b0a1e871db3c79d
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
---
 installers/helm/osm/Chart.yaml  | 2 +-
 installers/helm/osm/values.yaml | 9 ++++++++-
 2 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/installers/helm/osm/Chart.yaml b/installers/helm/osm/Chart.yaml
index 1ab19032..5ff64105 100644
--- a/installers/helm/osm/Chart.yaml
+++ b/installers/helm/osm/Chart.yaml
@@ -28,7 +28,7 @@ dependencies:
   condition: mysql.enabled
 - name: kafka
   repository: "https://charts.bitnami.com/bitnami"
-  version: "25.1.12"
+  version: 30.1.6
   condition: kafka.enabled
 # - name: zookeeper
 #  repository: "https://charts.bitnami.com/bitnami"
diff --git a/installers/helm/osm/values.yaml b/installers/helm/osm/values.yaml
index c5e2821b..b0a9b8fb 100644
--- a/installers/helm/osm/values.yaml
+++ b/installers/helm/osm/values.yaml
@@ -205,7 +205,14 @@ kafka:
     client:
       protocol: "PLAINTEXT"
   fullnameOverride: "kafka"
-  # replicaCount: 1
+  replicaCount: 1
+  controller:
+    replicaCount: 1
+  extraConfigYaml:
+    default.replication.factor: 1
+    offsets.topic.replication.factor: 1
+    transaction.state.log.replication.factor: 1
+    transaction.state.log.min.isr: 1
 
 keystone:
   enabled: false
-- 
GitLab