-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathquix.yaml
103 lines (100 loc) · 3.63 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
# 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: InfluxDB v2 Source
application: InfluxDB v2 Source
deploymentType: Service
version: latest
resources:
cpu: 200
memory: 500
replicas: 1
desiredStatus: Stopped
variables:
- name: OUTPUT_TOPIC
inputType: OutputTopic
description: The output topic to store the results fetched from the InfluxDB v2 queries
required: true
value: influxdb-v2-data
- name: INFLUXDB_HOST
inputType: FreeText
description: The address of the InfluxDB v2 instance
required: true
value: <INFLUXDB_HOST>
- name: INFLUXDB_ORG
inputType: FreeText
description: The configured organization in the InfluxDB v2 instance
required: true
value: <INFLUXDB_ORG>
- name: INFLUXDB_BUCKET
inputType: FreeText
description: The name of the InfluxDB v2 bucket that stores the source data to be synced
required: true
value: <INFLUXDB_BUCKET>
- name: INFLUXDB_TOKEN
inputType: Secret
description: The configured API Token to access the InfluxDB v2 instance (defined as a secret in Quix)
required: true
secretKey: INFLUXDB_TOKEN
- name: TASK_INTERVAL
inputType: FreeText
description: Defines both how often the query should be run against the database and the max age of the data to return. See the InfluxDB documentation for a full list of valid interval values
required: false
value: 1m
- name: InfluxDB v3 Sink
application: InfluxDB v3 Sink
deploymentType: Service
version: latest
resources:
cpu: 200
memory: 500
replicas: 1
desiredStatus: Stopped
variables:
- name: INPUT_TOPIC
inputType: InputTopic
description: The input topic from which to consume the InfluxDB v2 data
required: false
value: influxdb-v2-data
- name: INFLUXDB_HOST
inputType: FreeText
description: The address of the InfluxDB v3 instance
required: true
value: https://us-east-1-1.aws.cloud2.influxdata.com
- name: INFLUXDB_ORG
inputType: FreeText
description: The configured organization in the InfluxDB v3 instance
required: true
value: <INFLUXDB_ORG>
- name: INFLUXDB_BUCKET
inputType: FreeText
description: The name of the InfluxDB v3 bucket to store the synced data
required: false
value: <INFLUXDB_BUCKET>
- name: INFLUXDB_TOKEN
inputType: Secret
description: The configured API Token to access the InfluxDB v3 instance (defined as a secret in Quix)
required: true
secretKey: INFLUXDB_TOKEN
- name: INFLUXDB_TAG_KEYS
inputType: FreeText
description: A list of tags to select when when writing the data to InfluxDB v3 (all others will be ignored)
required: false
value: "['machineID','barcode','provider']"
- name: INFLUXDB_FIELD_KEYS
inputType: FreeText
description: A list of fields to select when when writing the data to InfluxDB v3 (all others will be ignored)
required: true
value: "['temperature','load','power','vibration']"
# This section describes the Topics of the data pipeline
topics:
- name: influxdb-v2-data
persisted: false
configuration:
partitions: 1
replicationFactor: 2
retentionInMinutes: 1440
retentionInBytes: 52428800