-
Notifications
You must be signed in to change notification settings - Fork 0
/
quix.yaml
170 lines (167 loc) · 4.47 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
# 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: Kinesis on localstack
application: localstack kinesis
version: latest
deploymentType: Service
resources:
cpu: 1000
memory: 1000
replicas: 1
state:
enabled: true
size: 3
network:
serviceName: kinesis
ports:
- port: 4566
targetPort: 4566
variables: []
- name: Publish to Kinesis
application: publish-kinesis
version: latest
deploymentType: Service
resources:
cpu: 200
memory: 500
replicas: 1
variables:
- name: aws_region_name
inputType: FreeText
description: ''
required: false
value: us-east-1
- name: aws_secret_access_key
inputType: Secret
description: ''
required: false
secretKey: aws_secret_access_key
- name: aws_access_key_id
inputType: Secret
description: ''
required: false
secretKey: aws_access_key_id
- name: kinesis_stream_name
inputType: FreeText
description: ''
required: false
value: kinesis_data
- name: Kinesis Source
application: kinesis-source
version: latest
deploymentType: Service
resources:
cpu: 200
memory: 500
replicas: 1
variables:
- name: output
inputType: OutputTopic
description: Name of the output topic to write into
required: true
value: kinesis_data
- name: kinesis_stream
inputType: FreeText
description: ''
required: false
value: kinesis_data
- name: aws_region_name
inputType: FreeText
description: ''
required: false
value: us-east-1
- name: aws_secret_access_key
inputType: Secret
description: ''
required: false
secretKey: aws_secret_access_key
- name: aws_access_key_id
inputType: Secret
description: ''
required: false
secretKey: aws_access_key_id
- name: Transformation
application: transformation
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: kinesis_data
- name: output
inputType: OutputTopic
description: Name of the output topic to write to.
required: false
value: transformed
- name: BigQuery Sink
application: BigQuery 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: transformed
- name: PROJECT_ID
inputType: FreeText
description: The BigQuery GCP Project ID
required: true
value: steve-438814
- name: DATASET_ID
inputType: FreeText
description: The target BigQuery dataset ID
required: true
value: steve-438814.demo
- name: DATASET_LOCATION
inputType: FreeText
description: Location of BigQuery dataset
required: true
value: EU
- name: TABLE_NAME
inputType: FreeText
description: Name of the destination table.
required: true
value: demo2
- name: CONSUMER_GROUP
inputType: FreeText
description: Kafka consumer group.
required: true
value: big-query-sink-v1
- name: BIGQUERY_SERVICE_ACCOUNT_JSON
inputType: Secret
description: JSON string of the service account file for the BigQuery GCP project
required: true
secretKey: google_demo_service_account
- name: MAX_QUEUE_SIZE
inputType: FreeText
description: Max queue size for the sink ingestion
required: true
value: 50
# This section describes the Topics of the data pipeline
topics:
- name: kinesis_data
configuration:
replicationFactor: 2
retentionInMinutes: 1440
retentionInBytes: 52428800
- name: transformed
configuration:
replicationFactor: 2
retentionInMinutes: 1440
retentionInBytes: 52428800
dataTier: Silver