-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathquix.yaml
More file actions
278 lines (275 loc) · 8.46 KB
/
Copy pathquix.yaml
File metadata and controls
278 lines (275 loc) · 8.46 KB
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
275
276
277
278
# 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: Quix TS Datalake API
image: quixcontainerregistry.azurecr.io/quix-datalake-ts-api:20260420.2-master
deploymentType: Service
blobStorage:
bind: true
resources:
cpu: 200
memory: 1000
replicas: 1
publicAccess:
enabled: true
urlPrefix: quixlake
state:
enabled: true
size: 1
network:
serviceName: quixlake
ports:
- port: 80
targetPort: 80
variables:
- name: CATALOG_URL
inputType: FreeText
description: REST Catalog service URL
value: http://iceberg-catalog:80
- name: Quix TS Query UI
image: quixcontainerregistry.azurecr.io/quix-datalake-ts-ui:20260420.2-master
deploymentType: Service
resources:
cpu: 200
memory: 500
replicas: 1
publicAccess:
enabled: true
urlPrefix: query-ui
variables:
- name: QUERY_API_URL
inputType: FreeText
description: URL of the DuckDB Query API service to connect to
required: true
value: http://quixlake
- name: DEBUG_LOG_LEVEL
inputType: FreeText
description: debug logging level
value: DEBUG
plugin:
embeddedView:
enabled: true
sidebarItem:
show: true
label: Data Explorer
icon: search
- name: Quix TS Datalake Catalog
image: quixcontainerregistry.azurecr.io/quix-datalake-ts-catalog:20260420.2-master
deploymentType: Service
blobStorage:
bind: true
resources:
cpu: 200
memory: 500
replicas: 1
publicAccess:
enabled: true
urlPrefix: iceberg-catalog
network:
serviceName: iceberg-catalog
ports:
- port: 80
targetPort: 5001
variables:
- name: POSTGRES_HOST
inputType: FreeText
description: PostgreSQL host address
value: postgresql
- name: POSTGRES_PORT
inputType: FreeText
description: PostgreSQL port
value: 80
- name: POSTGRES_DB
inputType: FreeText
description: PostgreSQL database name
value: iceberg_catalog
- name: POSTGRES_USER
inputType: FreeText
description: PostgreSQL username
value: admin
- name: POSTGRES_PASSWORD
inputType: Secret
description: PostgreSQL password
secretKey: postgres_password
- name: CATALOG_BACKEND
inputType: FreeText
required: true
value: postgres
- name: postgreSQL
application: postgresql
version: latest
deploymentType: Service
resources:
cpu: 200
memory: 2000
replicas: 1
network:
serviceName: postgresql
ports:
- port: 80
targetPort: 5432
variables:
- name: POSTGRES_USER
inputType: FreeText
description: The root username to initialize PostgreSQL with
required: true
value: admin
- name: POSTGRES_PASSWORD
inputType: Secret
description: The root password to initialize MongoDB with
required: true
secretKey: postgres_password
- name: POSTGRES_DB
inputType: FreeText
description: The default database name to initialize PostgreSQL with
required: true
value: quix
- name: TSBS Quix Data Generator
group: Example pipeline
application: tsbs-quix-data-generator
version: latest
deploymentType: Job
resources:
cpu: 200
memory: 1000
replicas: 1
variables:
- name: output
inputType: OutputTopic
description: This is the Quix Topic that will receive the generated data
required: true
value: tsbs_data
- name: TSBS_USE_CASE
inputType: FreeText
description: 'The type of data; options: cpu-only, devops, iot'
required: true
value: cpu-only
- name: TSBS_SEED
inputType: FreeText
description: 'an integer PRNG seed for deterministic generation. '
required: true
value: 123
- name: TSBS_SCALE
inputType: FreeText
description: The number of devices / trucks to generate data for
required: true
value: 5
- name: TSBS_TIMESTAMP_START
inputType: FreeText
description: A start time for the data's timestamps, formatted as Y-M-DTH:M:SZ
required: true
value: 2025-01-08T00:00:00Z
- name: TSBS_TIMESTAMP_END
inputType: FreeText
description: The end time for the data's timestamps, formatted as Y-M-DTH:M:SZ
required: true
value: 2025-01-09T00:00:00Z
- name: TSBS_LOG_INTERVAL
inputType: FreeText
description: how much time should be between each reading per device, formatted as Nt
required: true
value: 10s
- name: TSBS Transformer
group: Example pipeline
application: tsbs-transformer
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.
value: tsbs_data
- name: output
inputType: OutputTopic
description: Name of the output topic to write to.
value: tsbs_data_transformed
- name: quix-ts-datalake-sink
group: Example pipeline
application: quix-ts-datalake-sink
version: latest
deploymentType: Service
blobStorage:
bind: true
resources:
cpu: 200
memory: 500
replicas: 1
variables:
- name: input
inputType: InputTopic
description: Name of the Kafka input topic to consume from
required: true
value: tsbs_data_transformed
- name: TABLE_NAME
inputType: FreeText
description: Table name for data organization and registration, else defaults to topic name
value: sensordata
- name: HIVE_COLUMNS
inputType: FreeText
description: Comma-separated list of columns for Hive partitioning. Include year/month/day/hour to extract from TIMESTAMP_COLUMN (e.g., location,year,month,day,sensor_type)
value: region,datacenter,hostname
- name: TIMESTAMP_COLUMN
inputType: FreeText
description: Column containing timestamp values to extract year/month/day/hour from
value: ts_ms
- name: CATALOG_URL
inputType: FreeText
description: REST Catalog URL for optional table registration (leave empty to skip)
value: http://iceberg-catalog
- name: CATALOG_AUTH_TOKEN
inputType: Secret
description: If using a catalog, the respective auth token to access it
required: true
secretKey: config_ui_auth_token
- name: AUTO_DISCOVER
inputType: FreeText
description: Automatically register table in REST Catalog on first write
value: true
- name: CATALOG_NAMESPACE
inputType: FreeText
description: Catalog namespace for table registration
value: default
- name: BATCH_SIZE
inputType: FreeText
description: Number of messages to batch before writing to S3
value: 1000
- name: COMMIT_INTERVAL
inputType: FreeText
description: Kafka commit interval in seconds
value: 30
- name: KAFKA_KEY_DESERIALIZER
inputType: FreeText
description: The key deserializer to use
value: str
- name: KAFKA_VALUE_DESERIALIZER
inputType: FreeText
description: the value deserializer to use
value: json
- name: CONSUMER_GROUP
inputType: FreeText
description: Kafka consumer group name
value: s3_direct_sink_v1.1
- name: AUTO_OFFSET_RESET
inputType: FreeText
description: Where to start consuming if no offset exists
value: earliest
- name: LOGLEVEL
inputType: FreeText
description: set application logging level (DEBUG, INFO, WARNING, ERROR, CRITICAL)
value: INFO
- name: MAX_WRITE_WORKERS
inputType: FreeText
description: How many files can be written in parallel to S3 at once (based on partitioning + batch size)
value: 10
# This section describes the Topics of the data pipeline
topics:
- name: tsbs_data
- name: tsbs_data_transformed
- name: tsbs_data_transformed_000