From c20956527c5560625bb8b83fd605ee0b742a4ccf Mon Sep 17 00:00:00 2001 From: Lyn Nagara Date: Wed, 22 Apr 2020 12:04:57 -0700 Subject: [PATCH] build: Update Snuba commands (#434) Update the consumer and replacer commands. These now take a storage instead of a dataset name as per https://github.com/getsentry/snuba/pull/875 and https://github.com/getsentry/snuba/pull/861. This would require `getsentry/snuba:ab2e49cc1f475e59a037d882eb1cecddd23596b9` or more recent to work. --- docker-compose.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 7f5a9f4..baaa744 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -105,16 +105,16 @@ services: # Kafka consumer responsible for feeding events into Clickhouse snuba-consumer: << : *snuba_defaults - command: consumer --dataset events --auto-offset-reset=latest --max-batch-time-ms 750 + command: consumer --storage events --auto-offset-reset=latest --max-batch-time-ms 750 # Kafka consumer responsible for feeding outcomes into Clickhouse # Use --auto-offset-reset=earliest to recover up to 7 days of TSDB data # since we did not do a proper migration snuba-outcomes-consumer: << : *snuba_defaults - command: consumer --dataset outcomes --auto-offset-reset=earliest --max-batch-time-ms 750 + command: consumer --storage outcomes_raw --auto-offset-reset=earliest --max-batch-time-ms 750 snuba-replacer: << : *snuba_defaults - command: replacer --auto-offset-reset=latest --max-batch-size 3 + command: replacer --storage events --auto-offset-reset=latest --max-batch-size 3 snuba-cleanup: << : *snuba_defaults image: snuba-cleanup-onpremise-local