File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
kustomization/fleet-telemetry-consumer Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 1515 spec :
1616 containers :
1717 - name : fleet-telemetry-consumer
18- image : quay.io/rajsinghcpre/fleet-telemetry-consumer:v0.0.23
18+ image : quay.io/rajsinghcpre/fleet-telemetry-consumer:v0.0.25
1919 # Removed the command that uses the config file
2020 volumeMounts :
2121 - name : data
@@ -142,7 +142,7 @@ spec:
142142 name : metrics
143143 env :
144144 - name : LOAD_DAYS
145- value : " 1 "
145+ value : " 5 "
146146 # Kafka Configuration
147147 - name : KAFKA_BOOTSTRAP_SERVERS
148148 value : " tesla-kafka-bootstrap.tesla:9092"
Original file line number Diff line number Diff line change @@ -498,7 +498,8 @@ func createTelemetryTable(db *sql.DB) error {
498498 vin text,
499499 created_at timestamp with time zone,
500500 data jsonb,
501- PRIMARY KEY (vin, created_at)
501+ data_hash text,
502+ PRIMARY KEY (vin, created_at, data_hash)
502503 );`
503504 _ , err := db .Exec (query )
504505 if err != nil {
You can’t perform that action at this time.
0 commit comments