Skip to content

Commit 7a5183c

Browse files
committed
Upgrade components (#422)
- Collector 3.7.0 - Enrich 6.1.2 - Postgres 16.10-alpine - Cadvisor 0.53.0 ghcr.io is used to fetch cadvisor container image since it is moved to ghcr.io: google/cadvisor#3699
1 parent 1b3eb26 commit 7a5183c

File tree

7 files changed

+17
-30
lines changed

7 files changed

+17
-30
lines changed

provisioning/resources/configs/compositions/docker-compose-aws.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ services:
138138
mem_limit: 64m
139139

140140
scala-stream-collector:
141-
image: snowplow/scala-stream-collector-nsq:3.4.0-distroless
141+
image: snowplow/scala-stream-collector-nsq:3.7.0-distroless
142142
container_name: scala-stream-collector-nsq
143143
command: [ "--config", "/snowplow/config/snowplow-stream-collector.hocon" ]
144144
restart: always
@@ -159,7 +159,7 @@ services:
159159
mem_limit: ${SP_COLLECTOR_MEM_SIZE}
160160

161161
enrich:
162-
image: snowplow/snowplow-enrich-nsq:5.4.0-distroless
162+
image: snowplow/snowplow-enrich-nsq:6.1.2-distroless
163163
container_name: enrich
164164
command: [
165165
"--config", "/snowplow/config/snowplow-enrich.hocon",
@@ -182,7 +182,7 @@ services:
182182
mem_limit: ${SP_ENRICH_MEM_SIZE}
183183

184184
postgres:
185-
image: postgres:15.1-alpine
185+
image: postgres:16.10-alpine
186186
container_name: postgres
187187
restart: always
188188
volumes:
@@ -220,7 +220,7 @@ services:
220220
mem_limit: ${SP_IGLU_SERVER_MEM_SIZE}
221221

222222
cadvisor:
223-
image: gcr.io/cadvisor/cadvisor:v0.52.1
223+
image: ghcr.io/google/cadvisor:v0.53.0
224224
container_name: cadvisor
225225
restart: always
226226
privileged: true

provisioning/resources/configs/compositions/docker-compose-gcp.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ services:
117117
mem_limit: 64m
118118

119119
scala-stream-collector:
120-
image: snowplow/scala-stream-collector-nsq:3.4.0-distroless
120+
image: snowplow/scala-stream-collector-nsq:3.7.0-distroless
121121
container_name: scala-stream-collector-nsq
122122
command: [ "--config", "/snowplow/config/snowplow-stream-collector.hocon" ]
123123
restart: always
@@ -135,7 +135,7 @@ services:
135135
mem_limit: ${SP_COLLECTOR_MEM_SIZE}
136136

137137
enrich:
138-
image: snowplow/snowplow-enrich-nsq:5.4.0-distroless
138+
image: snowplow/snowplow-enrich-nsq:6.1.2-distroless
139139
container_name: enrich
140140
command: [
141141
"--config", "/snowplow/config/snowplow-enrich.hocon",
@@ -155,7 +155,7 @@ services:
155155
mem_limit: ${SP_ENRICH_MEM_SIZE}
156156

157157
postgres:
158-
image: postgres:15.1-alpine
158+
image: postgres:16.10-alpine
159159
container_name: postgres
160160
restart: always
161161
volumes:
@@ -187,7 +187,7 @@ services:
187187
mem_limit: ${SP_IGLU_SERVER_MEM_SIZE}
188188

189189
cadvisor:
190-
image: gcr.io/cadvisor/cadvisor:v0.52.1
190+
image: ghcr.io/google/cadvisor:v0.53.0
191191
container_name: cadvisor
192192
restart: always
193193
privileged: true

provisioning/resources/configs/snowplow-enrich.hocon

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55

66
"input": {
77
"topic": "RawEvents"
8+
"channel": "RawEventsChannel"
89
"lookupHost": "nsqlookupd"
910
"lookupPort": 4161
1011
}
@@ -21,18 +22,6 @@
2122
"nsqdHost": "nsqd"
2223
"nsqdPort": 4150
2324
}
24-
25-
"pii": {
26-
"type": "Nsq"
27-
"topic": "PiiEvents"
28-
"nsqdHost": "nsqd"
29-
"nsqdPort": 4150
30-
"backoffPolicy": {
31-
"minBackoff": 100 milliseconds
32-
"maxBackoff": 10 seconds
33-
"maxRetries": 10
34-
}
35-
}
3625
}
3726
"featureFlags": {
3827
"exitOnJsCompileError": false

provisioning/resources/configs/snowplow-stream-collector.hocon

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,6 @@ collector {
7171
streams {
7272
good = RawEvents
7373
bad = BadRawEvents
74-
useIpAddressAsPartitionKey = false
7574

7675
sink {
7776
enabled = nsq

provisioning/resources/ui/index.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,15 +58,15 @@ <h3>Quicklinks:</h3>
5858
<h3>The software stack installed:</h3>
5959
<ul class="software-list">
6060
<li>Snowplow Mini 0.23.2</li>
61-
<li>Snowplow Collector NSQ 3.4.0</li>
62-
<li>Snowplow Enrich NSQ 5.4.0</li>
61+
<li>Snowplow Collector NSQ 3.7.0</li>
62+
<li>Snowplow Enrich NSQ 6.1.2</li>
6363
<li>Snowplow Elasticsearch Loader 2.1.3</li>
6464
<li>Snowplow Iglu Server 0.14.0</li>
65-
<li>Postgres 15.1</li>
65+
<li>Postgres 16.10</li>
6666
<li>NSQ v1.3.0</li>
6767
<li>Opensearch 2.19.1</li>
6868
<li>Opensearch Dashboards 2.19.1</li>
69-
<li>Cadvisor 0.52.1</li>
69+
<li>Cadvisor 0.53.0</li>
7070
</ul>
7171

7272
<div class="stack-topology">

provisioning/roles/docker/files/docker-compose.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ services:
131131
mem_limit: 64m
132132

133133
scala-stream-collector:
134-
image: snowplow/scala-stream-collector-nsq:3.4.0-distroless
134+
image: snowplow/scala-stream-collector-nsq:3.7.0-distroless
135135
container_name: scala-stream-collector-nsq
136136
command: [ "--config", "/snowplow/config/snowplow-stream-collector.hocon" ]
137137
restart: always
@@ -151,7 +151,7 @@ services:
151151
mem_limit: ${SP_COLLECTOR_MEM_SIZE}
152152

153153
enrich:
154-
image: snowplow/snowplow-enrich-nsq:5.4.0-distroless
154+
image: snowplow/snowplow-enrich-nsq:6.1.2-distroless
155155
container_name: enrich
156156
command: [
157157
"--config", "/snowplow/config/snowplow-enrich.hocon",
@@ -173,7 +173,7 @@ services:
173173
mem_limit: ${SP_ENRICH_MEM_SIZE}
174174

175175
postgres:
176-
image: postgres:15.1-alpine
176+
image: postgres:16.10-alpine
177177
container_name: postgres
178178
restart: always
179179
volumes:
@@ -209,7 +209,7 @@ services:
209209
mem_limit: ${SP_IGLU_SERVER_MEM_SIZE}
210210

211211
cadvisor:
212-
image: gcr.io/cadvisor/cadvisor:v0.52.1
212+
image: ghcr.io/google/cadvisor:v0.53.0
213213
container_name: cadvisor
214214
restart: always
215215
privileged: true

provisioning/roles/docker/tasks/main.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030
curl -X POST localhost:4151/topic/create?topic=BadEvents
3131
curl -X POST localhost:4151/topic/create?topic=EnrichedEvents
3232
curl -X POST localhost:4151/topic/create?topic=BadEnrichedEvents
33-
curl -X POST localhost:4151/topic/create?topic=PiiEvents
3433
3534
# Cronjob: Clean old docs from 'good' index
3635
- name: Add cronjob to clean old ES 'good' index documents

0 commit comments

Comments
 (0)