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.
This commit is contained in:
		@@ -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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user