2
0

feat: Add sessions snuba consumer to setup (#524)

Co-authored-by: Markus Unterwaditzer <markus@unterwaditzer.net>
Co-authored-by: Burak Yigit Kaya <byk@sentry.io>
This commit is contained in:
Armin Ronacher 2020-06-02 16:04:46 +02:00 committed by GitHub
parent 3522a12325
commit ff057d1d2c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,6 +17,7 @@ x-sentry-defaults: &sentry_defaults
- snuba-api - snuba-api
- snuba-consumer - snuba-consumer
- snuba-outcomes-consumer - snuba-outcomes-consumer
- snuba-sessions-consumer
- snuba-replacer - snuba-replacer
- symbolicator - symbolicator
- kafka - kafka
@ -115,6 +116,10 @@ services:
snuba-outcomes-consumer: snuba-outcomes-consumer:
<< : *snuba_defaults << : *snuba_defaults
command: consumer --storage outcomes_raw --auto-offset-reset=earliest --max-batch-time-ms 750 command: consumer --storage outcomes_raw --auto-offset-reset=earliest --max-batch-time-ms 750
# Kafka consumer responsible for feeding session data into Clickhouse
snuba-sessions-consumer:
<< : *snuba_defaults
command: consumer --storage sessions_raw --auto-offset-reset=latest --max-batch-time-ms 750
snuba-replacer: snuba-replacer:
<< : *snuba_defaults << : *snuba_defaults
command: replacer --storage events --auto-offset-reset=latest --max-batch-size 3 command: replacer --storage events --auto-offset-reset=latest --max-batch-size 3