-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig.yml
246 lines (246 loc) · 9.86 KB
/
config.yml
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
MiNiFi Config Version: 3
Flow Controller: {name: retailpricing, comment: Created by MiNiFi C2 Flow Designer}
Core Properties: {flow controller graceful shutdown period: 10 sec, flow service write delay interval: 500 ms,
administrative yield duration: 30 sec, bored yield duration: 10 millis, max concurrent threads: 1,
variable registry properties: ''}
FlowFile Repository:
partitions: 256
checkpoint interval: 2 mins
always sync: false
Swap: {threshold: 20000, in period: 5 sec, in threads: 1, out period: 5 sec, out threads: 4}
Content Repository: {content claim max appendable size: 10 MB, content claim max flow files: 100,
always sync: false}
Provenance Repository: {provenance rollover time: 1 min, implementation: org.apache.nifi.provenance.MiNiFiPersistentProvenanceRepository}
Component Status Repository: {buffer size: 1440, snapshot frequency: 1 min}
Security Properties:
keystore: ''
keystore type: ''
keystore password: ''
key password: ''
truststore: ''
truststore type: ''
truststore password: ''
ssl protocol: ''
Sensitive Props: {key: '', algorithm: PBEWITHMD5AND256BITAES-CBC-OPENSSL, provider: BC}
Processors:
- id: 6272a937-395c-4b0f-ab99-80f02fe62f66
name: Extract Temp
class: org.apache.nifi.processors.standard.EvaluateJsonPath
max concurrent tasks: 1
scheduling strategy: TIMER_DRIVEN
scheduling period: 0 ms
penalization period: 0 ms
yield period: 0 ms
run duration nanos: 0
auto-terminated relationships list: [failure, price, unmatched]
Properties: {Destination: flowfile-attribute, Null Value Representation: empty string,
Path Not Found Behavior: ignore, Return Type: json, price: $.price}
- id: 06290058-d751-423b-9251-3b0ee876903b
name: FetchFile
class: org.apache.nifi.processors.standard.FetchFile
max concurrent tasks: 1
scheduling strategy: TIMER_DRIVEN
scheduling period: 0 ms
penalization period: 0 ms
yield period: 0 ms
run duration nanos: 0
auto-terminated relationships list: [permission.denied, failure, not.found]
Properties: {Completion Strategy: Delete File, File to Fetch: '${absolute.path}/${filename}',
Log level when file not found: ERROR, Log level when permission denied: ERROR,
Move Conflict Strategy: Replace File}
- id: 8e73b0a9-2e31-4a83-9ef4-7c4bb24a130a
name: FetchFile
class: org.apache.nifi.processors.standard.FetchFile
max concurrent tasks: 1
scheduling strategy: TIMER_DRIVEN
scheduling period: 0 ms
penalization period: 0 ms
yield period: 0 ms
run duration nanos: 0
auto-terminated relationships list: [permission.denied, failure, not.found]
Properties: {Completion Strategy: Delete File, File to Fetch: '${absolute.path}/${filename}',
Log level when file not found: ERROR, Log level when permission denied: ERROR,
Move Conflict Strategy: Rename}
- id: cc646278-ec06-4da2-bb68-9267baa95d7e
name: ListFile
class: org.apache.nifi.processors.standard.ListFile
max concurrent tasks: 1
scheduling strategy: TIMER_DRIVEN
scheduling period: 0 ms
penalization period: 0 ms
yield period: 0 ms
run duration nanos: 0
auto-terminated relationships list: []
Properties: {File Filter: '[^\.].*', Ignore Hidden Files: 'true', Include File Attributes: 'true',
Input Directory: /opt/demo/logs, Input Directory Location: Local, Minimum File Age: 10 sec,
Minimum File Size: 20 B, Recurse Subdirectories: 'true', et-initial-listing-target: all,
et-node-identifier: '${hostname()}', et-time-window: 3 hours, listing-strategy: timestamps,
target-system-timestamp-precision: auto-detect}
- id: a96d517e-8632-40a6-9e46-92f47b38bb3c
name: ListFile Images
class: org.apache.nifi.processors.standard.ListFile
max concurrent tasks: 1
scheduling strategy: TIMER_DRIVEN
scheduling period: 0 ms
penalization period: 0 ms
yield period: 0 ms
run duration nanos: 0
auto-terminated relationships list: []
Properties: {File Filter: '[^\.].*', Ignore Hidden Files: 'true', Include File Attributes: 'true',
Input Directory: /opt/demo/images, Input Directory Location: Local, Minimum File Age: 10 sec,
Minimum File Size: 50 B, Recurse Subdirectories: 'true', et-initial-listing-target: all,
et-node-identifier: '${hostname()}', et-time-window: 3 hours, listing-strategy: timestamps,
target-system-timestamp-precision: auto-detect}
- id: 078eeddf-0fc2-468a-b3e1-70b4e582371a
name: ListenHTTP
class: org.apache.nifi.processors.standard.ListenHTTP
max concurrent tasks: 1
scheduling strategy: TIMER_DRIVEN
scheduling period: 0 ms
penalization period: 0 ms
yield period: 0 ms
run duration nanos: 0
auto-terminated relationships list: []
Properties: {Authorized DN Pattern: .*, Base Path: setPrice, Listening Port: '9988',
Max Unconfirmed Flowfile Time: 60 secs, Return Code: '200', multipart-read-buffer-size: 512 KB,
multipart-request-max-size: 1 MB}
- id: 56dfacc8-339b-43f1-b772-d9aee643e499
name: PutFile
class: org.apache.nifi.processors.standard.PutFile
max concurrent tasks: 1
scheduling strategy: TIMER_DRIVEN
scheduling period: 0 ms
penalization period: 0 ms
yield period: 0 ms
run duration nanos: 0
auto-terminated relationships list: [success, failure]
Properties: {Conflict Resolution Strategy: replace, Create Missing Directories: 'true',
Directory: /opt/demo/logs}
- id: 7308819a-91fc-4438-9e8a-89f2a9ebdb5c
name: Run Price
class: org.apache.nifi.processors.standard.ExecuteProcess
max concurrent tasks: 1
scheduling strategy: TIMER_DRIVEN
scheduling period: 30 s
penalization period: 0 ms
yield period: 0 ms
run duration nanos: 0
auto-terminated relationships list: []
Properties: {Argument Delimiter: ' ', Command: /opt/demo/runretail.sh, Redirect Error Stream: 'false'}
- id: 51414be6-8b6c-48e3-81c2-7258e51d154e
name: Set Price
class: org.apache.nifi.processors.standard.ExecuteStreamCommand
max concurrent tasks: 1
scheduling strategy: TIMER_DRIVEN
scheduling period: 0 ms
penalization period: 0 ms
yield period: 0 ms
run duration nanos: 0
auto-terminated relationships list: [original, nonzero status]
Properties: {Argument Delimiter: ;, Command Arguments: '${price}', Command Path: /opt/demo/setprice.sh,
Ignore STDIN: 'false', Max Attribute Length: '2048'}
Controller Services: []
Process Groups: []
Input Ports: []
Output Ports: []
Funnels: []
Connections:
- id: 50d5d314-db43-44bb-9c69-9f6c18ae6b7a
name: Extract Temp/matched/Set Price
source id: 6272a937-395c-4b0f-ab99-80f02fe62f66
source relationship names: [matched]
destination id: 51414be6-8b6c-48e3-81c2-7258e51d154e
max work queue size: 0
max work queue data size: 10000 B
flowfile expiration: 0 seconds
queue prioritizer class: ''
- id: aad9fee6-e912-4726-819f-410e1995950a
name: FetchFile/success/01721019-adc8-1925-f275-a275096bcd51
source id: 06290058-d751-423b-9251-3b0ee876903b
source relationship names: [success]
destination id: 01721019-adc8-1925-f275-a275096bcd51
max work queue size: 0
max work queue data size: 10000 B
flowfile expiration: 0 seconds
queue prioritizer class: ''
- id: f6c8e317-ceda-4bca-b64a-4ad7c8aaa8ad
name: ListFile Images/success/FetchFile
source id: a96d517e-8632-40a6-9e46-92f47b38bb3c
source relationship names: [success]
destination id: 06290058-d751-423b-9251-3b0ee876903b
max work queue size: 0
max work queue data size: 10000 B
flowfile expiration: 0 seconds
queue prioritizer class: ''
- id: 9260b9ad-8b37-4d45-a66a-cdf3a9c50a05
name: ListFile/success/FetchFile
source id: cc646278-ec06-4da2-bb68-9267baa95d7e
source relationship names: [success]
destination id: 8e73b0a9-2e31-4a83-9ef4-7c4bb24a130a
max work queue size: 0
max work queue data size: 10000 B
flowfile expiration: 0 seconds
queue prioritizer class: ''
- id: 76810019-554a-49d3-9d53-7e14cf5bdafb
name: ListenHTTP/success/Extract Temp
source id: 078eeddf-0fc2-468a-b3e1-70b4e582371a
source relationship names: [success]
destination id: 6272a937-395c-4b0f-ab99-80f02fe62f66
max work queue size: 0
max work queue data size: 10000 B
flowfile expiration: 0 seconds
queue prioritizer class: ''
- id: 2cc7b2f6-c513-4104-905c-7a81cc8d020d
name: PutFile/success/01721019-adc8-1925-f275-a275096bcd51
source id: 56dfacc8-339b-43f1-b772-d9aee643e499
source relationship names: [success]
destination id: 01721019-adc8-1925-f275-a275096bcd51
max work queue size: 0
max work queue data size: 10000 B
flowfile expiration: 0 seconds
queue prioritizer class: ''
- id: 675b7c32-a855-4c07-9945-5db4bb064cf9
name: Retail Input
source id: 8e73b0a9-2e31-4a83-9ef4-7c4bb24a130a
source relationship names: [success]
destination id: 01721019-adc8-1925-f275-a275096bcd51
max work queue size: 0
max work queue data size: 20000 B
flowfile expiration: 0 seconds
queue prioritizer class: ''
- id: 13716970-491f-4b91-b90e-76b33d535338
name: Retail Input
source id: 7308819a-91fc-4438-9e8a-89f2a9ebdb5c
source relationship names: [success]
destination id: 01721019-adc8-1925-f275-a275096bcd51
max work queue size: 0
max work queue data size: 20000 B
flowfile expiration: 0 seconds
queue prioritizer class: ''
- id: 536dd896-1e23-48c2-a093-7f4fd7b9e812
name: Set Price/output stream/PutFile
source id: 51414be6-8b6c-48e3-81c2-7258e51d154e
source relationship names: [output stream]
destination id: 56dfacc8-339b-43f1-b772-d9aee643e499
max work queue size: 0
max work queue data size: 10000 B
flowfile expiration: 0 seconds
queue prioritizer class: ''
Remote Process Groups:
- id: 93e7f89f-97c2-40e4-b2d0-97557cde2b34
name: http://192.168.1.249:8080/nifi
url: http://192.168.1.249:8080/nifi
comment: ''
timeout: 30 secs
yield period: 10 sec
transport protocol: HTTP
proxy host: ''
proxy port: ''
proxy user: ''
proxy password: ''
local network interface: ''
Input Ports:
- {id: 01721019-adc8-1925-f275-a275096bcd51, name: 01721019-adc8-1925-f275-a275096bcd51,
comment: '', max concurrent tasks: 1, use compression: true}
Output Ports: []
NiFi Properties Overrides: {}