From 62da40e80060fe7802088d47fbf09ab513e00e1b Mon Sep 17 00:00:00 2001 From: Anton Patsev Date: Thu, 3 Oct 2024 17:36:49 +0600 Subject: [PATCH 1/2] docs: document replication factor and persistence size for future enhancements --- charts/sentry/values.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/charts/sentry/values.yaml b/charts/sentry/values.yaml index 628ee311c..7f6ab9ba7 100644 --- a/charts/sentry/values.yaml +++ b/charts/sentry/values.yaml @@ -1921,6 +1921,8 @@ zookeeper: kafka: enabled: true provisioning: + ## Increasing the replicationFactor enhances data reliability during Kafka pod failures by replicating data across multiple brokers. + # replicationFactor: 3 enabled: true # Topic list is based on files below. # - https://github.com/getsentry/snuba/blob/master/snuba/utils/streams/topics.py @@ -2047,6 +2049,9 @@ kafka: replicaCount: 3 ## if the load on the kafka controller increases, resourcesPreset must be increased # resourcesPreset: small # small, medium, large, xlarge, 2xlarge + ## if the load on the kafka controller increases, persistence.size must be increased + # persistence: + # size: 8Gi ## Use this to enable an extra service account # serviceAccount: # create: false From 92ed57b5d2301ce3a39bfd9cd012f256de8aea96 Mon Sep 17 00:00:00 2001 From: Anton Patsev Date: Thu, 3 Oct 2024 18:42:17 +0600 Subject: [PATCH 2/2] docs: document replication factor and persistence size for future enhancements --- charts/sentry/values.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/sentry/values.yaml b/charts/sentry/values.yaml index 7f6ab9ba7..11b04c740 100644 --- a/charts/sentry/values.yaml +++ b/charts/sentry/values.yaml @@ -1922,7 +1922,7 @@ kafka: enabled: true provisioning: ## Increasing the replicationFactor enhances data reliability during Kafka pod failures by replicating data across multiple brokers. - # replicationFactor: 3 + # replicationFactor: 1 enabled: true # Topic list is based on files below. # - https://github.com/getsentry/snuba/blob/master/snuba/utils/streams/topics.py