From 7d5d752a2babfab699cc5e31f37462c390e1d6c8 Mon Sep 17 00:00:00 2001 From: paulDashkevich Date: Sun, 13 Oct 2024 10:28:17 +0300 Subject: [PATCH] feat: offset-reset in ds --- .../generic/deployment-sentry-generic-metrics-consumer.yaml | 3 +++ .../deployment-sentry-post-process-forwarder-errors.yaml | 3 +++ ...eployment-sentry-post-process-forwarder-issue-platform.yaml | 3 +++ 3 files changed, 9 insertions(+) diff --git a/charts/sentry/templates/sentry/metrics/generic/deployment-sentry-generic-metrics-consumer.yaml b/charts/sentry/templates/sentry/metrics/generic/deployment-sentry-generic-metrics-consumer.yaml index e3b469aff..e6d1ff1d1 100644 --- a/charts/sentry/templates/sentry/metrics/generic/deployment-sentry-generic-metrics-consumer.yaml +++ b/charts/sentry/templates/sentry/metrics/generic/deployment-sentry-generic-metrics-consumer.yaml @@ -82,6 +82,9 @@ spec: - "run" - "consumer" - "ingest-generic-metrics" + {{- if .Values.sentry.genericMetricsConsumer.noStrictOffsetReset }} + - "--no-strict-offset-reset" + {{- end }} - "--consumer-group" - "generic-metrics-consumer" {{- if .Values.sentry.genericMetricsConsumer.livenessProbe.enabled }} diff --git a/charts/sentry/templates/sentry/post-process-forwarder/errors/deployment-sentry-post-process-forwarder-errors.yaml b/charts/sentry/templates/sentry/post-process-forwarder/errors/deployment-sentry-post-process-forwarder-errors.yaml index aefdc0135..d47f9040b 100644 --- a/charts/sentry/templates/sentry/post-process-forwarder/errors/deployment-sentry-post-process-forwarder-errors.yaml +++ b/charts/sentry/templates/sentry/post-process-forwarder/errors/deployment-sentry-post-process-forwarder-errors.yaml @@ -86,6 +86,9 @@ spec: - "post-process-forwarder" - "--synchronize-commit-log-topic=snuba-commit-log" - "--synchronize-commit-group=snuba-consumers" + {{- if .Values.sentry.postProcessForwardTransactions.noStrictOffsetReset }} + - "--no-strict-offset-reset" + {{- end }} {{- if .Values.sentry.postProcessForwardErrors.livenessProbe.enabled }} - "--healthcheck-file-path" - "/tmp/health.txt" diff --git a/charts/sentry/templates/sentry/post-process-forwarder/issue-platform/deployment-sentry-post-process-forwarder-issue-platform.yaml b/charts/sentry/templates/sentry/post-process-forwarder/issue-platform/deployment-sentry-post-process-forwarder-issue-platform.yaml index db4eb0d6d..4abe7180b 100644 --- a/charts/sentry/templates/sentry/post-process-forwarder/issue-platform/deployment-sentry-post-process-forwarder-issue-platform.yaml +++ b/charts/sentry/templates/sentry/post-process-forwarder/issue-platform/deployment-sentry-post-process-forwarder-issue-platform.yaml @@ -87,6 +87,9 @@ spec: - "--synchronize-commit-log-topic=snuba-generic-events-commit-log" - "--synchronize-commit-group" - "generic_events_group" + {{- if .Values.sentry.postProcessForwardIssuePlatform.noStrictOffsetReset }} + - "--no-strict-offset-reset" + {{- end }} {{- if .Values.sentry.postProcessForwardIssuePlatform.livenessProbe.enabled }} - "--healthcheck-file-path" - "/tmp/health.txt"