-
Notifications
You must be signed in to change notification settings - Fork 0
/
quix.yaml
274 lines (271 loc) · 6.92 KB
/
quix.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
# Quix Project Descriptor
# This file describes the data pipeline and configuration of resources of a Quix Project.
metadata:
version: 1.0
# This section describes the Deployments of the data pipeline
deployments:
- name: Snake game
application: game
version: latest
deploymentType: Service
resources:
cpu: 200
memory: 500
replicas: 1
publicAccess:
enabled: true
urlPrefix: game
variables: []
- name: Game Telemetry Receiver
application: gametelemetry-web-sockets
version: latest
deploymentType: Service
resources:
cpu: 1000
memory: 500
replicas: 1
publicAccess:
enabled: true
urlPrefix: gametelemetry
variables:
- name: output
inputType: OutputTopic
description: Output topic
required: true
value: clickstream
- name: Normalization
application: normalization
version: latest
deploymentType: Service
resources:
cpu: 200
memory: 500
replicas: 1
variables:
- name: input
inputType: InputTopic
description: Name of the input topic to listen to.
required: false
value: clickstream
- name: output
inputType: OutputTopic
description: Name of the output topic to write to.
required: false
value: transformed
- name: Cheat Detection
application: bot-detection
version: latest
deploymentType: Service
resources:
cpu: 1000
memory: 2000
replicas: 1
variables:
- name: input
inputType: InputTopic
description: Name of the input topic to listen to.
required: false
value: transformed
- name: output
inputType: OutputTopic
description: Name of the output topic to write to.
required: false
value: bot-detection
- name: AWS_SECRET_ACCESS_KEY
inputType: Secret
description: ''
required: true
secretKey: s3_secret_access_key
- name: AWS_ACCESS_KEY_ID
inputType: FreeText
description: ''
required: true
value: AKIA5JJJFC76GRHTOTPS
- name: Scoring
application: scoring
version: latest
deploymentType: Service
resources:
cpu: 200
memory: 500
replicas: 1
variables:
- name: input
inputType: InputTopic
description: Name of the input topic to listen to.
required: false
value: transformed
- name: output
inputType: OutputTopic
description: Name of the output topic to write to.
required: false
value: score
- name: Redis
application: redis
version: latest
deploymentType: Service
resources:
cpu: 2000
memory: 5000
replicas: 1
network:
serviceName: redis
ports:
- port: 6379
targetPort: 6379
variables: []
- name: Dashboard
application: dashboard
version: latest
deploymentType: Service
resources:
cpu: 200
memory: 500
replicas: 1
publicAccess:
enabled: true
urlPrefix: dashboard
variables: []
- name: Web Socket Server
application: web-sockets-server
version: latest
deploymentType: Service
resources:
cpu: 200
memory: 500
replicas: 1
publicAccess:
enabled: true
urlPrefix: wss
variables:
- name: input
inputType: InputTopic
description: Output topic
required: true
value: bot-detection
- name: Cheater Redis Sink
application: cheater-sink
version: latest
deploymentType: Service
resources:
cpu: 200
memory: 500
replicas: 1
variables:
- name: input
inputType: InputTopic
description: This is the input topic
required: true
value: bot-detection
- name: redis_host
inputType: FreeText
description: Host address for the Redis instance
required: true
value: redis
- name: redis_port
inputType: FreeText
description: Port for the Redis instance
required: true
value: 6379
- name: redis_password
inputType: FreeText
description: Password for the Redis instance
required: false
value: ''
- name: redis_username
inputType: FreeText
description: Username for the Redis instance
required: false
value: ''
- name: redis_key_prefix
inputType: FreeText
description: The prefix for the key to store data under
required: false
value: is_bot
- name: Score Redis Sink
application: redis-sink
version: latest
deploymentType: Service
resources:
cpu: 200
memory: 500
replicas: 1
variables:
- name: input
inputType: InputTopic
description: This is the input topic
required: true
value: score
- name: redis_host
inputType: FreeText
description: Host address for the Redis instance
required: true
value: redis
- name: redis_port
inputType: FreeText
description: Port for the Redis instance
required: true
value: 6379
- name: redis_password
inputType: FreeText
description: Password for the Redis instance
required: false
value: ''
- name: redis_username
inputType: FreeText
description: Username for the Redis instance
required: false
value: ''
- name: redis_key_prefix
inputType: FreeText
description: The prefix for the key to store data under
required: false
value: game_score
- name: Sink RAW to Iceberg
application: s3-sink
version: latest
deploymentType: Service
resources:
cpu: 200
memory: 1000
replicas: 1
variables:
- name: input
inputType: InputTopic
required: false
value: clickstream
- name: AWS_SECRET_ACCESS_KEY
inputType: Secret
description: ''
required: false
secretKey: s3_secret_access_key
- name: AWS_S3_URI
inputType: FreeText
description: ''
required: true
value: s3://sneak-data/tomas-snakecheating-dev-clickstream
- name: AWS_ACCESS_KEY_ID
inputType: FreeText
required: false
value: AKIA5JJJFC76GRHTOTPS
- name: AWS_DEFAULT_REGION
inputType: FreeText
required: false
value: eu-north-1
- name: table_name
inputType: FreeText
description: ''
required: true
value: glue.prod_game_data
# This section describes the Topics of the data pipeline
topics:
- name: clickstream
configuration:
partitions: 4
retentionInMinutes: -1
retentionInBytes: 1048576000
- name: bot-detection
- name: transformed
- name: score
- name: consumptions-credits-aggregated
- name: consumptions-credits-aggregated-old