-
Notifications
You must be signed in to change notification settings - Fork 6
/
quix.yaml
268 lines (265 loc) · 7.5 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
# 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: Clickstream producer
application: Clickstream producer
deploymentType: Service
version: d499bbcadc9dbe0c9fad79251ef531642224b208
resources:
cpu: 200
memory: 1000
replicas: 1
desiredStatus: Running
variables:
- name: output
inputType: OutputTopic
description: This is the output topic for realtime CSV data
required: true
value: click-data
- name: keep_timing
inputType: FreeText
description: Set to 1 to keep original timings, if set to false, send each click event every 0.2 seconds
required: false
value: 1
- name: Data enrichment
application: Data enrichment
deploymentType: Service
version: 6bca61e2db3f64df55ef710a34e360351c491ae4
resources:
cpu: 200
memory: 1000
replicas: 1
desiredStatus: Running
variables:
- name: input
inputType: InputTopic
description: This is the input topic where we will get user interactions
required: true
value: click-data
- name: output
inputType: OutputTopic
description: This is the output topic, where we will send the enriched data
required: true
value: enriched-click-data
- name: redis_host
inputType: Secret
description: External Redis host
required: true
secretKey: redis_host
- name: redis_port
inputType: Secret
description: External Redis port
required: true
secretKey: redis_port
- name: redis_password
inputType: Secret
description: External Redis password
required: true
secretKey: redis_password
- name: redis_username
inputType: Secret
description: External Redis username
required: false
secretKey: redis_username
- name: Lookup data ingestion job
application: Lookup data ingestion
deploymentType: Job
version: 9e2b998d42bb5228e62b5f75958c119270127120
resources:
cpu: 200
memory: 500
replicas: 1
variables:
- name: redis_host
inputType: Secret
description: External Redis host
required: true
secretKey: redis_host
- name: redis_port
inputType: Secret
description: External Redis port
required: true
secretKey: redis_port
- name: redis_password
inputType: Secret
description: External Redis password
required: true
secretKey: redis_password
- name: redis_username
inputType: Secret
description: External Redis username
required: false
secretKey: redis_username
- name: Clickstream event detection
application: Clickstream event detection
deploymentType: Service
version: f75b3975073a1077e63cd85fdda039b8d3290de8
resources:
cpu: 200
memory: 500
replicas: 1
state:
enabled: true
size: 1
desiredStatus: Running
variables:
- name: input
inputType: InputTopic
description: This is the input topic for enriched click data
required: true
value: enriched-click-data
- name: window_minutes
inputType: FreeText
description: Minutes for the rolling window to detect user behaviour
required: false
value: 30
- name: output
inputType: OutputTopic
description: Topic to write offers
required: true
value: special-offers
- name: redis_host
inputType: Secret
description: External Redis host
required: true
secretKey: redis_host
- name: redis_port
inputType: Secret
description: External Redis port
required: true
secretKey: redis_port
- name: redis_password
inputType: Secret
description: External Redis password
required: true
secretKey: redis_password
- name: redis_username
inputType: Secret
description: External Redis username
required: false
secretKey: redis_username
- name: Data aggregation
application: Data aggregation
deploymentType: Service
version: 133312c35a02cfb61d5ea0ba2428ddbcad1efad1
resources:
cpu: 200
memory: 500
replicas: 1
state:
enabled: true
size: 1
desiredStatus: Running
variables:
- name: input
inputType: InputTopic
description: This is the input topic to read data from
required: true
value: enriched-click-data
- name: redis_host
inputType: Secret
description: External Redis host
required: true
secretKey: redis_host
- name: redis_port
inputType: Secret
description: External Redis port
required: true
secretKey: redis_port
- name: redis_password
inputType: Secret
description: External Redis password
required: true
secretKey: redis_password
- name: redis_username
inputType: Secret
description: External Redis username
required: false
secretKey: redis_username
- name: Demo webshop frontend
application: Demo webshop frontend
deploymentType: Service
version: b08fc90e4c7bcb42dfeab3e410941412fe85c1b7
resources:
cpu: 200
memory: 500
replicas: 1
publicAccess:
enabled: true
urlPrefix: webshop
desiredStatus: Running
variables:
- name: bearer_token
inputType: Secret
description: Quix bearer token
required: true
secretKey: bearerToken
- name: offers_topic
inputType: InputTopic
description: ''
required: false
value: special-offers
- name: click_topic
inputType: InputTopic
description: ''
required: false
value: click-data
- name: Demo real-time dashboard
application: Demo real-time dashboard
deploymentType: Service
version: 97d0acf7521181778c4300b953b3842d5ab5b83b
resources:
cpu: 200
memory: 500
replicas: 1
publicAccess:
enabled: true
urlPrefix: dashboard
desiredStatus: Running
variables:
- name: redis_host
inputType: Secret
description: External Redis host
required: true
secretKey: redis_host
- name: redis_port
inputType: Secret
description: External Redis port
required: true
secretKey: redis_port
- name: redis_password
inputType: Secret
description: External Redis password
required: true
secretKey: redis_password
- name: redis_username
inputType: Secret
description: External Redis username
required: false
secretKey: redis_username
# This section describes the Topics of the data pipeline
topics:
- name: click-data
persisted: false
configuration:
partitions: 2
replicationFactor: 2
retentionInMinutes: 60
retentionInBytes: 52428800
- name: enriched-click-data
persisted: false
configuration:
partitions: 2
replicationFactor: 2
retentionInMinutes: 60
retentionInBytes: 52428800
- name: special-offers
persisted: false
configuration:
partitions: 2
replicationFactor: 2
retentionInMinutes: 60
retentionInBytes: 52428800