Skip to content

Commit 90e48ad

Browse files
authored
feat: set --max-poll-interval-ms flags to Sentry/Snuba consumers (#4376)
* feat: set --max-poll-interval-ms flags to Sentry/Snuba consumers Separated from #4313 Also introducint a healthcheck for snuba-replacer * fix: health-check args for snuba-replacer
1 parent 31527b8 commit 90e48ad

2 files changed

Lines changed: 54 additions & 43 deletions

File tree

.env

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,16 +30,23 @@ HEALTHCHECK_FILE_RETRIES=3
3030
HEALTHCHECK_FILE_START_PERIOD=600s
3131
# Set SETUP_JS_SDK_ASSETS to 1 to enable the setup of JS SDK assets
3232
# SETUP_JS_SDK_ASSETS=1
33-
#
33+
3434
# Set SETUP_CUSTOM_CA_CERTIFICATE to 1 to generate trust stores that inject
3535
# your custom CA certificates (from ./certificates/*.crt) into non-Sentry
3636
# services (relay, symbolicator, vroom, snuba, taskbroker, uptime-checker).
3737
# Re-run ./install.sh after adding or changing certificates — no Docker image
3838
# rebuilds are required. Follow the printed instructions to update your
3939
# docker-compose.override.yml on the first run.
4040
# SETUP_CUSTOM_CA_CERTIFICATE=1
41-
#
41+
4242
# Sentry (and its' surrounding services) uses Statsd for metrics collection.
4343
# It's also the proper way to monitor self-hosted Sentry systems.
4444
# Set STATSD_ADDR to a valid IP:PORT combination to enable Statsd metrics collection.
4545
# STATSD_ADDR=127.0.0.1:8125
46+
47+
# Set SENTRY_KAFKA_MAX_POLL_INTERVAL_MS to a value (in milliseconds) that is
48+
# higher than the expected maximum processing time of a batch of messages for
49+
# the Kafka consumers. This will prevent Kafka from considering the consumer
50+
# as failed and triggering a rebalance while it is still processing messages.
51+
# The default value is 30000 ms (30 seconds).
52+
# SENTRY_KAFKA_MAX_POLL_INTERVAL_MS=30000

0 commit comments

Comments
 (0)