Skip to content

Commit

Permalink
🔧 (deployment-snuba-replacer.yaml, values.yaml): add configuration fo…
Browse files Browse the repository at this point in the history
…r noStrictOffsetReset

Introduce a new configuration option `noStrictOffsetReset` in the Snuba
replacer deployment template and values file. This allows users to
optionally disable strict offset reset behavior by setting
`noStrictOffsetReset` to true in the `values.yaml` file. This change
provides more flexibility in handling offset resets, which can be
useful in certain deployment scenarios where strict offset management
is not required or desired.
  • Loading branch information
pyama committed Dec 4, 2024
1 parent 8e768dd commit 6632c96
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions sentry/templates/deployment-snuba-replacer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,9 @@ spec:
{{- if .Values.snuba.replacer.queuedMinMessages }}
- "--queued-min-messages"
- "{{ .Values.snuba.replacer.queuedMinMessages }}"
{{- if .Values.snuba.replacer.noStrictOffsetReset }}
- "--no-strict-offset-reset"
{{- end }}
{{- end }}
ports:
- containerPort: {{ template "snuba.port" }}
Expand Down
1 change: 1 addition & 0 deletions sentry/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -957,6 +957,7 @@ snuba:
# queuedMinMessages: ""
# volumes: []
# volumeMounts: []
# noStrictOffsetReset: false

metricsConsumer:
enabled: true
Expand Down

0 comments on commit 6632c96

Please sign in to comment.