From ff057d1d2cc72250a40f329a08eed5f27b172997 Mon Sep 17 00:00:00 2001 From: Armin Ronacher Date: Tue, 2 Jun 2020 16:04:46 +0200 Subject: [PATCH] feat: Add sessions snuba consumer to setup (#524) Co-authored-by: Markus Unterwaditzer Co-authored-by: Burak Yigit Kaya --- docker-compose.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index 39cce8e..c10665a 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -17,6 +17,7 @@ x-sentry-defaults: &sentry_defaults - snuba-api - snuba-consumer - snuba-outcomes-consumer + - snuba-sessions-consumer - snuba-replacer - symbolicator - kafka @@ -115,6 +116,10 @@ services: snuba-outcomes-consumer: << : *snuba_defaults 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_defaults command: replacer --storage events --auto-offset-reset=latest --max-batch-size 3