├── .gitignore
├── bestbuy-dataflow
├── BestBuy-Dataflow-Part1.xml
├── BestBuy-Dataflow-Part2.xml
├── BestBuy-Dataflow-Part3.xml
├── bestbuy-dataflow-part4.xml
├── bestbuy-dataflow-part5.xml
├── bestbuy-dataflow-part6.xml
├── bestbuy-dataflow-part7.xml
└── readme.txt
├── nifi-api
├── README.md
├── docker-compose.yml
└── nifi_rest_api.json
└── templates
├── Wait and Notify Dataflow.xml
└── websocket
├── WebSocket_Dataflow_Part_1.xml
├── WebSocket_Dataflow_Part_2.xml
└── main.py
/.gitignore:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/skoonData/apache-nifi/5d000f64509438f4e4df0d86564ecc7bf8c3224a/.gitignore
--------------------------------------------------------------------------------
/bestbuy-dataflow/BestBuy-Dataflow-Part1.xml:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/skoonData/apache-nifi/5d000f64509438f4e4df0d86564ecc7bf8c3224a/bestbuy-dataflow/BestBuy-Dataflow-Part1.xml
--------------------------------------------------------------------------------
/bestbuy-dataflow/BestBuy-Dataflow-Part2.xml:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/skoonData/apache-nifi/5d000f64509438f4e4df0d86564ecc7bf8c3224a/bestbuy-dataflow/BestBuy-Dataflow-Part2.xml
--------------------------------------------------------------------------------
/bestbuy-dataflow/BestBuy-Dataflow-Part3.xml:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/skoonData/apache-nifi/5d000f64509438f4e4df0d86564ecc7bf8c3224a/bestbuy-dataflow/BestBuy-Dataflow-Part3.xml
--------------------------------------------------------------------------------
/bestbuy-dataflow/bestbuy-dataflow-part4.xml:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/skoonData/apache-nifi/5d000f64509438f4e4df0d86564ecc7bf8c3224a/bestbuy-dataflow/bestbuy-dataflow-part4.xml
--------------------------------------------------------------------------------
/bestbuy-dataflow/bestbuy-dataflow-part5.xml:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/skoonData/apache-nifi/5d000f64509438f4e4df0d86564ecc7bf8c3224a/bestbuy-dataflow/bestbuy-dataflow-part5.xml
--------------------------------------------------------------------------------
/bestbuy-dataflow/bestbuy-dataflow-part6.xml:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/skoonData/apache-nifi/5d000f64509438f4e4df0d86564ecc7bf8c3224a/bestbuy-dataflow/bestbuy-dataflow-part6.xml
--------------------------------------------------------------------------------
/bestbuy-dataflow/bestbuy-dataflow-part7.xml:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/skoonData/apache-nifi/5d000f64509438f4e4df0d86564ecc7bf8c3224a/bestbuy-dataflow/bestbuy-dataflow-part7.xml
--------------------------------------------------------------------------------
/bestbuy-dataflow/readme.txt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/skoonData/apache-nifi/5d000f64509438f4e4df0d86564ecc7bf8c3224a/bestbuy-dataflow/readme.txt
--------------------------------------------------------------------------------
/nifi-api/README.md:
--------------------------------------------------------------------------------
1 | # Working with the NiFi REST API
2 | This video will get you started working with the NiFi Rest API 1.18.0
3 |
4 | ### Requirements
5 | - Docker Desktop
6 | - VS Code
7 |
8 | ### VS Code Extensions
9 | - Local
10 | - [Remote Development](https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.vscode-remote-extensionpack)
11 | - WSL:Ubuntu-20.04
12 | - [Docker](https://marketplace.visualstudio.com/items?itemName=ms-azuretools.vscode-docker)
13 | - [Thunder Client](https://marketplace.visualstudio.com/items?itemName=rangav.vscode-thunder-client)
14 |
15 | ### Environment Setup
16 | 1. Clone the repo.
17 |
18 | 2. Create "nifi" docker network.
19 | ```bash
20 | docker network create nifi
21 | ```
22 | 3. Run the NiFi container.
23 |
24 | ```bash
25 | docker compose up -d
26 | ```
27 |
28 | 4. Use the username and password from docker-compose.yml to access the NiFi UI.
29 |
30 | 5. Watch the video.
31 |
32 | 6. When your done you can use this command to remove the container and volumes that are were created.
33 | ```bash
34 | docker compose down -v
35 | ```
36 |
37 |
38 | ### Links
39 | - [Apache NiFi Docs](https://nifi.apache.org/docs.html)
40 |
--------------------------------------------------------------------------------
/nifi-api/docker-compose.yml:
--------------------------------------------------------------------------------
1 | version: '3'
2 | services:
3 | nifi:
4 | container_name: nifi
5 | image: 'apache/nifi:1.18.0'
6 | ports:
7 | - 9443:9443
8 | environment:
9 | - SINGLE_USER_CREDENTIALS_USERNAME=admin
10 | - SINGLE_USER_CREDENTIALS_PASSWORD=ctsBtRBKHRAx69EqUghvvgEvjnaLjFEB
11 | - NIFI_WEB_HTTPS_PORT=9443
12 | volumes:
13 | - nifi_content_repository:/opt/nifi/nifi-current/content_repository
14 | - nifi_database_repository:/opt/nifi/nifi-current/database_repository
15 | - nifi_flowfile_repository:/opt/nifi/nifi-current/flowfile_repository
16 | - nifi_provenance_repository:/opt/nifi/nifi-current/provenance_repository
17 | - nifi_logs:/opt/nifi/nifi-current/logs
18 | - nifi_state:/opt/nifi/nifi-current/state
19 | - nifi_conf:/opt/nifi/nifi-current/conf
20 |
21 | networks:
22 | default:
23 | name: nifi
24 | external: true
25 |
26 | volumes:
27 | nifi_content_repository:
28 | nifi_database_repository:
29 | nifi_flowfile_repository:
30 | nifi_provenance_repository:
31 | nifi_logs:
32 | nifi_state:
33 | nifi_conf:
--------------------------------------------------------------------------------
/nifi-api/nifi_rest_api.json:
--------------------------------------------------------------------------------
1 | {
2 | "client": "Thunder Client",
3 | "collectionName": "NiFi",
4 | "dateExported": "2022-10-25T05:38:21.286Z",
5 | "version": "1.1",
6 | "folders": [],
7 | "requests": [
8 | {
9 | "_id": "d1d57600-0f89-4889-a93c-20732966079c",
10 | "colId": "c4bdb468-1b71-4b79-83f8-05d20c9b4aa2",
11 | "containerId": "",
12 | "name": "/access/config",
13 | "url": "https://localhost:9443/nifi-api/access/config",
14 | "method": "GET",
15 | "sortNum": 10000,
16 | "created": "2022-10-24T05:23:01.579Z",
17 | "modified": "2022-10-25T05:31:27.916Z",
18 | "headers": [
19 | {
20 | "name": "User-Agent",
21 | "value": "Thunder Client (https://www.thunderclient.com)",
22 | "isDisabled": true
23 | }
24 | ],
25 | "params": [],
26 | "tests": []
27 | },
28 | {
29 | "_id": "6c6c3a5f-84cb-4b2f-9060-e7c8b436db88",
30 | "colId": "c4bdb468-1b71-4b79-83f8-05d20c9b4aa2",
31 | "containerId": "",
32 | "name": "/access/token",
33 | "url": "https://localhost:9443/nifi-api/access/token?username=admin&password=ctsBtRBKHRAx69EqUghvvgEvjnaLjFEB",
34 | "method": "POST",
35 | "sortNum": 20000,
36 | "created": "2022-10-24T05:23:38.047Z",
37 | "modified": "2022-10-24T05:53:30.898Z",
38 | "headers": [
39 | {
40 | "name": "Content-Type",
41 | "value": "application/x-www-form-urlencoded"
42 | },
43 | {
44 | "name": "User-Agent",
45 | "value": "Thunder Client (https://www.thunderclient.com)",
46 | "isDisabled": true
47 | }
48 | ],
49 | "params": [
50 | {
51 | "name": "username",
52 | "value": "admin",
53 | "isPath": false
54 | },
55 | {
56 | "name": "password",
57 | "value": "ctsBtRBKHRAx69EqUghvvgEvjnaLjFEB",
58 | "isPath": false
59 | }
60 | ],
61 | "tests": []
62 | },
63 | {
64 | "_id": "fb60a95e-6e8c-4733-837c-e8434b75c26c",
65 | "colId": "c4bdb468-1b71-4b79-83f8-05d20c9b4aa2",
66 | "containerId": "",
67 | "name": "/access/token/expiration",
68 | "url": "https://localhost:9443/nifi-api/access/token/expiration",
69 | "method": "GET",
70 | "sortNum": 22500,
71 | "created": "2022-10-24T05:56:18.703Z",
72 | "modified": "2022-10-25T05:31:05.914Z",
73 | "headers": [
74 | {
75 | "name": "Authorization",
76 | "value": ""
77 | }
78 | ],
79 | "params": [],
80 | "tests": []
81 | },
82 | {
83 | "_id": "ec37d4ca-999a-4e33-9204-e73330e55744",
84 | "colId": "c4bdb468-1b71-4b79-83f8-05d20c9b4aa2",
85 | "containerId": "",
86 | "name": "/system-diagnostics",
87 | "url": "https://localhost:9443/nifi-api/system-diagnostics",
88 | "method": "GET",
89 | "sortNum": 30000,
90 | "created": "2022-10-24T05:26:07.491Z",
91 | "modified": "2022-10-25T05:31:40.709Z",
92 | "headers": [
93 | {
94 | "name": "Authorization",
95 | "value": ""
96 | },
97 | {
98 | "name": "User-Agent",
99 | "value": "Thunder Client (https://www.thunderclient.com)",
100 | "isDisabled": true
101 | }
102 | ],
103 | "params": [],
104 | "tests": []
105 | },
106 | {
107 | "_id": "f3b7cf42-7276-42eb-8f1e-0c000987c8d2",
108 | "colId": "c4bdb468-1b71-4b79-83f8-05d20c9b4aa2",
109 | "containerId": "",
110 | "name": "/flow/processors/{id}/status",
111 | "url": "https://localhost:9443/nifi-api/flow/processors/{id}/status",
112 | "method": "GET",
113 | "sortNum": 40000,
114 | "created": "2022-10-24T06:09:35.237Z",
115 | "modified": "2022-10-25T05:33:31.555Z",
116 | "headers": [
117 | {
118 | "name": "Authorization",
119 | "value": ""
120 | },
121 | {
122 | "name": "User-Agent",
123 | "value": "Thunder Client (https://www.thunderclient.com)",
124 | "isDisabled": true
125 | }
126 | ],
127 | "params": [
128 | {
129 | "name": "id",
130 | "value": "0d99434c-0184-1000-2258-5a048916406b",
131 | "isPath": true
132 | }
133 | ],
134 | "tests": []
135 | },
136 | {
137 | "_id": "e15cbc45-8baa-422a-a8f3-f7dab6977f80",
138 | "colId": "c4bdb468-1b71-4b79-83f8-05d20c9b4aa2",
139 | "containerId": "",
140 | "name": "/processors/run-status-details/queries",
141 | "url": "https://localhost:9443/nifi-api/processors/run-status-details/queries",
142 | "method": "POST",
143 | "sortNum": 45000,
144 | "created": "2022-10-24T06:23:12.940Z",
145 | "modified": "2022-10-25T05:34:29.184Z",
146 | "headers": [
147 | {
148 | "name": "Authorization",
149 | "value": ""
150 | },
151 | {
152 | "name": "User-Agent",
153 | "value": "Thunder Client (https://www.thunderclient.com)",
154 | "isDisabled": true
155 | },
156 | {
157 | "name": "Content-Type",
158 | "value": "application/json"
159 | }
160 | ],
161 | "params": [],
162 | "body": {
163 | "type": "json",
164 | "raw": "{\n \"processorIds\": [\"0d99434c-0184-1000-2258-5a048916406b\"]\n}",
165 | "form": []
166 | },
167 | "tests": []
168 | },
169 | {
170 | "_id": "9a8efaef-a4a2-470d-b347-a61202f702e6",
171 | "colId": "c4bdb468-1b71-4b79-83f8-05d20c9b4aa2",
172 | "containerId": "",
173 | "name": "/processors/{id}/run-status",
174 | "url": "https://localhost:9443/nifi-api/processors/{id}/run-status",
175 | "method": "PUT",
176 | "sortNum": 50000,
177 | "created": "2022-10-24T06:14:25.477Z",
178 | "modified": "2022-10-25T05:36:39.619Z",
179 | "headers": [
180 | {
181 | "name": "Authorization",
182 | "value": ""
183 | },
184 | {
185 | "name": "User-Agent",
186 | "value": "Thunder Client (https://www.thunderclient.com)",
187 | "isDisabled": true
188 | },
189 | {
190 | "name": "Content-Type",
191 | "value": "application/json"
192 | }
193 | ],
194 | "params": [
195 | {
196 | "name": "id",
197 | "value": "0d99434c-0184-1000-2258-5a048916406b",
198 | "isPath": true
199 | }
200 | ],
201 | "body": {
202 | "type": "json",
203 | "raw": "{\n \"revision\": {\n \"version\": 15,\n \"lastModifier\": \"steven\"\n },\n \"state\": \"RUN_ONCE\"\n}",
204 | "form": []
205 | },
206 | "tests": []
207 | }
208 | ]
209 | }
--------------------------------------------------------------------------------
/templates/websocket/WebSocket_Dataflow_Part_1.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | d60287f9-016f-1000-b4b6-e46a82d1f929
5 | WebSocket Dataflow
6 |
7 |
8 | 0816f679-a157-3799-0000-000000000000
9 | b6492def-ce5c-3ac0-0000-000000000000
10 |
11 | nifi-dbcp-service-nar
12 | org.apache.nifi
13 | 1.12.1
14 |
15 |
16 |
17 |
18 | Database Connection URL
19 |
20 | Database Connection URL
21 |
22 |
23 |
24 | Database Driver Class Name
25 |
26 | Database Driver Class Name
27 |
28 |
29 |
30 | database-driver-locations
31 |
32 | database-driver-locations
33 |
34 |
35 |
36 | kerberos-credentials-service
37 |
38 | org.apache.nifi.kerberos.KerberosCredentialsService
39 | kerberos-credentials-service
40 |
41 |
42 |
43 | kerberos-principal
44 |
45 | kerberos-principal
46 |
47 |
48 |
49 | kerberos-password
50 |
51 | kerberos-password
52 |
53 |
54 |
55 | Database User
56 |
57 | Database User
58 |
59 |
60 |
61 | Password
62 |
63 | Password
64 |
65 |
66 |
67 | Max Wait Time
68 |
69 | Max Wait Time
70 |
71 |
72 |
73 | Max Total Connections
74 |
75 | Max Total Connections
76 |
77 |
78 |
79 | Validation-query
80 |
81 | Validation-query
82 |
83 |
84 |
85 | dbcp-min-idle-conns
86 |
87 | dbcp-min-idle-conns
88 |
89 |
90 |
91 | dbcp-max-idle-conns
92 |
93 | dbcp-max-idle-conns
94 |
95 |
96 |
97 | dbcp-max-conn-lifetime
98 |
99 | dbcp-max-conn-lifetime
100 |
101 |
102 |
103 | dbcp-time-between-eviction-runs
104 |
105 | dbcp-time-between-eviction-runs
106 |
107 |
108 |
109 | dbcp-min-evictable-idle-time
110 |
111 | dbcp-min-evictable-idle-time
112 |
113 |
114 |
115 | dbcp-soft-min-evictable-idle-time
116 |
117 | dbcp-soft-min-evictable-idle-time
118 |
119 |
120 |
121 | mySql Server
122 | false
123 |
124 |
125 | Database Connection URL
126 | jdbc:mysql://50.224.35.38:6974
127 |
128 |
129 | Database Driver Class Name
130 | com.mysql.cj.jdbc.Driver
131 |
132 |
133 | database-driver-locations
134 | /opt/nifi/nifi-current/drivers
135 |
136 |
137 | kerberos-credentials-service
138 |
139 |
140 | kerberos-principal
141 |
142 |
143 | kerberos-password
144 |
145 |
146 | Database User
147 | nifiUser
148 |
149 |
150 | Password
151 |
152 |
153 | Max Wait Time
154 | 500 millis
155 |
156 |
157 | Max Total Connections
158 | 8
159 |
160 |
161 | Validation-query
162 |
163 |
164 | dbcp-min-idle-conns
165 | 0
166 |
167 |
168 | dbcp-max-idle-conns
169 | 8
170 |
171 |
172 | dbcp-max-conn-lifetime
173 | -1
174 |
175 |
176 | dbcp-time-between-eviction-runs
177 | -1
178 |
179 |
180 | dbcp-min-evictable-idle-time
181 | 30 mins
182 |
183 |
184 | dbcp-soft-min-evictable-idle-time
185 | -1
186 |
187 |
188 | ENABLED
189 | org.apache.nifi.dbcp.DBCPConnectionPool
190 |
191 |
192 | 5e5afe5c-20f0-3090-0000-000000000000
193 | b6492def-ce5c-3ac0-0000-000000000000
194 |
195 | nifi-record-serialization-services-nar
196 | org.apache.nifi
197 | 1.12.1
198 |
199 |
200 |
201 |
202 | schema-access-strategy
203 |
204 | schema-access-strategy
205 |
206 |
207 |
208 | schema-registry
209 |
210 | org.apache.nifi.schemaregistry.services.SchemaRegistry
211 | schema-registry
212 |
213 |
214 |
215 | schema-name
216 |
217 | schema-name
218 |
219 |
220 |
221 | schema-version
222 |
223 | schema-version
224 |
225 |
226 |
227 | schema-branch
228 |
229 | schema-branch
230 |
231 |
232 |
233 | schema-text
234 |
235 | schema-text
236 |
237 |
238 |
239 | schema-inference-cache
240 |
241 | org.apache.nifi.serialization.RecordSchemaCacheService
242 | schema-inference-cache
243 |
244 |
245 |
246 | Date Format
247 |
248 | Date Format
249 |
250 |
251 |
252 | Time Format
253 |
254 | Time Format
255 |
256 |
257 |
258 | Timestamp Format
259 |
260 | Timestamp Format
261 |
262 |
263 |
264 | JsonTreeReaderBASIC
265 | false
266 |
267 |
268 | schema-access-strategy
269 |
270 |
271 | schema-registry
272 |
273 |
274 | schema-name
275 |
276 |
277 | schema-version
278 |
279 |
280 | schema-branch
281 |
282 |
283 | schema-text
284 |
285 |
286 | schema-inference-cache
287 |
288 |
289 | Date Format
290 |
291 |
292 | Time Format
293 |
294 |
295 | Timestamp Format
296 |
297 |
298 | ENABLED
299 | org.apache.nifi.json.JsonTreeReader
300 |
301 |
302 | d1aa33a0-70db-33e7-0000-000000000000
303 | b6492def-ce5c-3ac0-0000-000000000000
304 |
305 | nifi-record-serialization-services-nar
306 | org.apache.nifi
307 | 1.12.1
308 |
309 |
310 |
311 |
312 | Schema Write Strategy
313 |
314 | Schema Write Strategy
315 |
316 |
317 |
318 | schema-cache
319 |
320 | org.apache.nifi.serialization.RecordSchemaCacheService
321 | schema-cache
322 |
323 |
324 |
325 | schema-protocol-version
326 |
327 | schema-protocol-version
328 |
329 |
330 |
331 | schema-access-strategy
332 |
333 | schema-access-strategy
334 |
335 |
336 |
337 | schema-registry
338 |
339 | org.apache.nifi.schemaregistry.services.SchemaRegistry
340 | schema-registry
341 |
342 |
343 |
344 | schema-name
345 |
346 | schema-name
347 |
348 |
349 |
350 | schema-version
351 |
352 | schema-version
353 |
354 |
355 |
356 | schema-branch
357 |
358 | schema-branch
359 |
360 |
361 |
362 | schema-text
363 |
364 | schema-text
365 |
366 |
367 |
368 | Date Format
369 |
370 | Date Format
371 |
372 |
373 |
374 | Time Format
375 |
376 | Time Format
377 |
378 |
379 |
380 | Timestamp Format
381 |
382 | Timestamp Format
383 |
384 |
385 |
386 | Pretty Print JSON
387 |
388 | Pretty Print JSON
389 |
390 |
391 |
392 | suppress-nulls
393 |
394 | suppress-nulls
395 |
396 |
397 |
398 | output-grouping
399 |
400 | output-grouping
401 |
402 |
403 |
404 | compression-format
405 |
406 | compression-format
407 |
408 |
409 |
410 | compression-level
411 |
412 | compression-level
413 |
414 |
415 |
416 | JsonRecordSetWriterBASIC
417 | false
418 |
419 |
420 | Schema Write Strategy
421 |
422 |
423 | schema-cache
424 |
425 |
426 | schema-protocol-version
427 |
428 |
429 | schema-access-strategy
430 |
431 |
432 | schema-registry
433 |
434 |
435 | schema-name
436 |
437 |
438 | schema-version
439 |
440 |
441 | schema-branch
442 |
443 |
444 | schema-text
445 |
446 |
447 | Date Format
448 |
449 |
450 | Time Format
451 |
452 |
453 | Timestamp Format
454 |
455 |
456 | Pretty Print JSON
457 |
458 |
459 | suppress-nulls
460 |
461 |
462 | output-grouping
463 | output-oneline
464 |
465 |
466 | compression-format
467 |
468 |
469 | compression-level
470 |
471 |
472 | ENABLED
473 | org.apache.nifi.json.JsonRecordSetWriter
474 |
475 |
476 | d9afc529-2cd1-38e8-0000-000000000000
477 | b6492def-ce5c-3ac0-0000-000000000000
478 |
479 | 0.0
480 | 0.0
481 |
482 |
483 |
484 |
485 | 0feab671-c878-3af6-0000-000000000000
486 | d9afc529-2cd1-38e8-0000-000000000000
487 | 1 GB
488 | 10000
489 |
490 | -912.0
491 | 1576.0
492 |
493 |
494 | d9afc529-2cd1-38e8-0000-000000000000
495 | 794a01a5-b793-3363-0000-000000000000
496 | PROCESSOR
497 |
498 | 0 sec
499 | 0
500 | DO_NOT_COMPRESS
501 |
502 | LOAD_BALANCE_NOT_CONFIGURED
503 | DO_NOT_LOAD_BALANCE
504 |
505 | success
506 |
507 | d9afc529-2cd1-38e8-0000-000000000000
508 | 02b5b71e-d87f-38e3-0000-000000000000
509 | PROCESSOR
510 |
511 | 0
512 |
513 |
514 | 5140cdda-2cd7-309b-0000-000000000000
515 | d9afc529-2cd1-38e8-0000-000000000000
516 | 1 GB
517 | 10000
518 |
519 | -912.0
520 | 1848.0
521 |
522 |
523 | d9afc529-2cd1-38e8-0000-000000000000
524 | c862482d-e715-3863-0000-000000000000
525 | PROCESSOR
526 |
527 | 0 sec
528 | 0
529 | DO_NOT_COMPRESS
530 |
531 | LOAD_BALANCE_NOT_CONFIGURED
532 | DO_NOT_LOAD_BALANCE
533 |
534 | sql
535 |
536 | d9afc529-2cd1-38e8-0000-000000000000
537 | dddaf870-bc94-36e4-0000-000000000000
538 | PROCESSOR
539 |
540 | 0
541 |
542 |
543 | 6aca869c-4616-38ec-0000-000000000000
544 | d9afc529-2cd1-38e8-0000-000000000000
545 | 1 GB
546 | 10000
547 |
548 | -315.0
549 | 1895.0
550 |
551 |
552 | -315.0
553 | 1945.0
554 |
555 |
556 | d9afc529-2cd1-38e8-0000-000000000000
557 | c862482d-e715-3863-0000-000000000000
558 | PROCESSOR
559 |
560 | 0 sec
561 | 1
562 | DO_NOT_COMPRESS
563 |
564 | LOAD_BALANCE_NOT_CONFIGURED
565 | DO_NOT_LOAD_BALANCE
566 |
567 | retry
568 |
569 | d9afc529-2cd1-38e8-0000-000000000000
570 | c862482d-e715-3863-0000-000000000000
571 | PROCESSOR
572 |
573 | 0
574 |
575 |
576 | 75c71bfc-744b-3bea-0000-000000000000
577 | d9afc529-2cd1-38e8-0000-000000000000
578 | 1 GB
579 | 10000
580 |
581 | -912.0
582 | 1712.0
583 |
584 |
585 | d9afc529-2cd1-38e8-0000-000000000000
586 | dddaf870-bc94-36e4-0000-000000000000
587 | PROCESSOR
588 |
589 | 0 sec
590 | 0
591 | DO_NOT_COMPRESS
592 |
593 | LOAD_BALANCE_NOT_CONFIGURED
594 | DO_NOT_LOAD_BALANCE
595 |
596 | qry
597 |
598 | d9afc529-2cd1-38e8-0000-000000000000
599 | 794a01a5-b793-3363-0000-000000000000
600 | PROCESSOR
601 |
602 | 0
603 |
604 |
605 | 884a54d1-5b73-3d07-0000-000000000000
606 | d9afc529-2cd1-38e8-0000-000000000000
607 | 1 GB
608 | 10000
609 |
610 | -912.0
611 | 1440.0
612 |
613 |
614 | d9afc529-2cd1-38e8-0000-000000000000
615 | 02b5b71e-d87f-38e3-0000-000000000000
616 | PROCESSOR
617 |
618 | 0 sec
619 | 0
620 | DO_NOT_COMPRESS
621 |
622 | LOAD_BALANCE_NOT_CONFIGURED
623 | DO_NOT_LOAD_BALANCE
624 |
625 | connected
626 |
627 | d9afc529-2cd1-38e8-0000-000000000000
628 | 60848998-f63d-3b37-0000-000000000000
629 | PROCESSOR
630 |
631 | 0
632 |
633 |
634 | 4b5f2925-0e5a-3ac3-0000-000000000000
635 | d9afc529-2cd1-38e8-0000-000000000000
636 |
637 | nifi-websocket-services-jetty-nar
638 | org.apache.nifi
639 | 1.12.1
640 |
641 |
642 |
643 |
644 | input-buffer-size
645 |
646 | input-buffer-size
647 |
648 |
649 |
650 | max-text-message-size
651 |
652 | max-text-message-size
653 |
654 |
655 |
656 | max-binary-message-size
657 |
658 | max-binary-message-size
659 |
660 |
661 |
662 | listen-port
663 |
664 | listen-port
665 |
666 |
667 |
668 | ssl-context-service
669 |
670 | org.apache.nifi.ssl.RestrictedSSLContextService
671 | ssl-context-service
672 |
673 |
674 |
675 | client-authentication
676 |
677 | client-authentication
678 |
679 |
680 |
681 | basic-auth
682 |
683 | basic-auth
684 |
685 |
686 |
687 | auth-path-spec
688 |
689 | auth-path-spec
690 |
691 |
692 |
693 | auth-roles
694 |
695 | auth-roles
696 |
697 |
698 |
699 | login-service
700 |
701 | login-service
702 |
703 |
704 |
705 | users-properties-file
706 |
707 | users-properties-file
708 |
709 |
710 |
711 | JettyWebSocketServer
712 | false
713 |
714 |
715 | input-buffer-size
716 |
717 |
718 | max-text-message-size
719 |
720 |
721 | max-binary-message-size
722 |
723 |
724 | listen-port
725 | 6980
726 |
727 |
728 | ssl-context-service
729 |
730 |
731 | client-authentication
732 |
733 |
734 | basic-auth
735 |
736 |
737 | auth-path-spec
738 |
739 |
740 | auth-roles
741 |
742 |
743 | login-service
744 |
745 |
746 | users-properties-file
747 |
748 |
749 | ENABLED
750 | org.apache.nifi.websocket.jetty.JettyWebSocketServer
751 |
752 |
753 | 02b5b71e-d87f-38e3-0000-000000000000
754 | d9afc529-2cd1-38e8-0000-000000000000
755 |
756 | -784.0
757 | 1448.0
758 |
759 |
760 | nifi-standard-nar
761 | org.apache.nifi
762 | 1.12.1
763 |
764 |
765 | WARN
766 |
767 | 1
768 |
769 |
770 | Attributes List
771 |
772 | Attributes List
773 |
774 |
775 |
776 | attributes-to-json-regex
777 |
778 | attributes-to-json-regex
779 |
780 |
781 |
782 | Destination
783 |
784 | Destination
785 |
786 |
787 |
788 | Include Core Attributes
789 |
790 | Include Core Attributes
791 |
792 |
793 |
794 | Null Value
795 |
796 | Null Value
797 |
798 |
799 |
800 | ALL
801 | false
802 | 30 sec
803 |
804 |
805 | Attributes List
806 | websocket.endpoint.id,
807 | websocket.local.address,
808 | websocket.message.type,
809 | websocket.remote.address
810 |
811 |
812 | attributes-to-json-regex
813 |
814 |
815 | Destination
816 | flowfile-content
817 |
818 |
819 | Include Core Attributes
820 | true
821 |
822 |
823 | Null Value
824 | false
825 |
826 |
827 | 0
828 | 0 sec
829 | TIMER_DRIVEN
830 | 1 sec
831 |
832 | false
833 | AttributesToJSON
834 |
835 | true
836 | failure
837 |
838 |
839 | false
840 | success
841 |
842 | STOPPED
843 |
844 | org.apache.nifi.processors.standard.AttributesToJSON
845 |
846 |
847 | 60848998-f63d-3b37-0000-000000000000
848 | d9afc529-2cd1-38e8-0000-000000000000
849 |
850 | -783.5332876589193
851 | 1311.9122745025065
852 |
853 |
854 | nifi-websocket-processors-nar
855 | org.apache.nifi
856 | 1.12.1
857 |
858 |
859 | WARN
860 |
861 | 1
862 |
863 |
864 | websocket-server-controller-service
865 |
866 | org.apache.nifi.websocket.WebSocketServerService
867 | websocket-server-controller-service
868 |
869 |
870 |
871 | server-url-path
872 |
873 | server-url-path
874 |
875 |
876 |
877 | ALL
878 | false
879 | 30 sec
880 |
881 |
882 | websocket-server-controller-service
883 | 4b5f2925-0e5a-3ac3-0000-000000000000
884 |
885 |
886 | server-url-path
887 | /chat
888 |
889 |
890 | 0
891 | 0 sec
892 | TIMER_DRIVEN
893 | 1 sec
894 |
895 | false
896 | ListenWebSocket
897 |
898 | true
899 | binary message
900 |
901 |
902 | false
903 | connected
904 |
905 |
906 | true
907 | text message
908 |
909 | STOPPED
910 |
911 | org.apache.nifi.processors.websocket.ListenWebSocket
912 |
913 |
914 | 794a01a5-b793-3363-0000-000000000000
915 | d9afc529-2cd1-38e8-0000-000000000000
916 |
917 | -784.0
918 | 1584.0
919 |
920 |
921 | nifi-standard-nar
922 | org.apache.nifi
923 | 1.12.1
924 |
925 |
926 | WARN
927 |
928 | 1
929 |
930 |
931 | record-reader
932 |
933 | org.apache.nifi.serialization.RecordReaderFactory
934 | record-reader
935 |
936 |
937 |
938 | record-writer
939 |
940 | org.apache.nifi.serialization.RecordSetWriterFactory
941 | record-writer
942 |
943 |
944 |
945 | include-zero-record-flowfiles
946 |
947 | include-zero-record-flowfiles
948 |
949 |
950 |
951 | cache-schema
952 |
953 | cache-schema
954 |
955 |
956 |
957 | qry
958 |
959 | qry
960 |
961 |
962 |
963 | ALL
964 | false
965 | 30 sec
966 |
967 |
968 | record-reader
969 | 5e5afe5c-20f0-3090-0000-000000000000
970 |
971 |
972 | record-writer
973 | d1aa33a0-70db-33e7-0000-000000000000
974 |
975 |
976 | include-zero-record-flowfiles
977 | true
978 |
979 |
980 | cache-schema
981 | true
982 |
983 |
984 | qry
985 | select
986 | "websocket.message.type" as websocketEndpointId
987 | ,"websocket.local.address" as websocketLocalAddress
988 | ,"websocket.remote.address" as websocketRemoteAddress
989 | ,"websocket.endpoint.id" as websocketSessionId
990 | from FLOWFILE
991 |
992 |
993 | 0
994 | 0 sec
995 | TIMER_DRIVEN
996 | 1 sec
997 |
998 | false
999 | QueryRecord
1000 |
1001 | true
1002 | failure
1003 |
1004 |
1005 | true
1006 | original
1007 |
1008 |
1009 | false
1010 | qry
1011 |
1012 | STOPPED
1013 |
1014 | org.apache.nifi.processors.standard.QueryRecord
1015 |
1016 |
1017 | c862482d-e715-3863-0000-000000000000
1018 | d9afc529-2cd1-38e8-0000-000000000000
1019 |
1020 | -784.0
1021 | 1856.0
1022 |
1023 |
1024 | nifi-standard-nar
1025 | org.apache.nifi
1026 | 1.12.1
1027 |
1028 |
1029 | WARN
1030 |
1031 | 1
1032 |
1033 |
1034 | JDBC Connection Pool
1035 |
1036 | org.apache.nifi.dbcp.DBCPService
1037 | JDBC Connection Pool
1038 |
1039 |
1040 |
1041 | putsql-sql-statement
1042 |
1043 | putsql-sql-statement
1044 |
1045 |
1046 |
1047 | Support Fragmented Transactions
1048 |
1049 | Support Fragmented Transactions
1050 |
1051 |
1052 |
1053 | database-session-autocommit
1054 |
1055 | database-session-autocommit
1056 |
1057 |
1058 |
1059 | Transaction Timeout
1060 |
1061 | Transaction Timeout
1062 |
1063 |
1064 |
1065 | Batch Size
1066 |
1067 | Batch Size
1068 |
1069 |
1070 |
1071 | Obtain Generated Keys
1072 |
1073 | Obtain Generated Keys
1074 |
1075 |
1076 |
1077 | rollback-on-failure
1078 |
1079 | rollback-on-failure
1080 |
1081 |
1082 |
1083 | ALL
1084 | false
1085 | 30 sec
1086 |
1087 |
1088 | JDBC Connection Pool
1089 | 0816f679-a157-3799-0000-000000000000
1090 |
1091 |
1092 | putsql-sql-statement
1093 |
1094 |
1095 | Support Fragmented Transactions
1096 | true
1097 |
1098 |
1099 | database-session-autocommit
1100 | false
1101 |
1102 |
1103 | Transaction Timeout
1104 |
1105 |
1106 | Batch Size
1107 | 100
1108 |
1109 |
1110 | Obtain Generated Keys
1111 | false
1112 |
1113 |
1114 | rollback-on-failure
1115 | false
1116 |
1117 |
1118 | 0
1119 | 0 sec
1120 | TIMER_DRIVEN
1121 | 1 sec
1122 |
1123 | false
1124 | PutSQL
1125 |
1126 | true
1127 | failure
1128 |
1129 |
1130 | false
1131 | retry
1132 |
1133 |
1134 | true
1135 | success
1136 |
1137 | STOPPED
1138 |
1139 | org.apache.nifi.processors.standard.PutSQL
1140 |
1141 |
1142 | dddaf870-bc94-36e4-0000-000000000000
1143 | d9afc529-2cd1-38e8-0000-000000000000
1144 |
1145 | -784.0
1146 | 1720.0
1147 |
1148 |
1149 | nifi-standard-nar
1150 | org.apache.nifi
1151 | 1.12.1
1152 |
1153 |
1154 | WARN
1155 |
1156 | 1
1157 |
1158 |
1159 | JDBC Connection Pool
1160 |
1161 | org.apache.nifi.dbcp.DBCPService
1162 | JDBC Connection Pool
1163 |
1164 |
1165 |
1166 | Statement Type
1167 |
1168 | Statement Type
1169 |
1170 |
1171 |
1172 | Table Name
1173 |
1174 | Table Name
1175 |
1176 |
1177 |
1178 | Catalog Name
1179 |
1180 | Catalog Name
1181 |
1182 |
1183 |
1184 | Schema Name
1185 |
1186 | Schema Name
1187 |
1188 |
1189 |
1190 | Translate Field Names
1191 |
1192 | Translate Field Names
1193 |
1194 |
1195 |
1196 | Unmatched Field Behavior
1197 |
1198 | Unmatched Field Behavior
1199 |
1200 |
1201 |
1202 | Unmatched Column Behavior
1203 |
1204 | Unmatched Column Behavior
1205 |
1206 |
1207 |
1208 | Update Keys
1209 |
1210 | Update Keys
1211 |
1212 |
1213 |
1214 | jts-quoted-identifiers
1215 |
1216 | jts-quoted-identifiers
1217 |
1218 |
1219 |
1220 | jts-quoted-table-identifiers
1221 |
1222 | jts-quoted-table-identifiers
1223 |
1224 |
1225 |
1226 | jts-sql-param-attr-prefix
1227 |
1228 | jts-sql-param-attr-prefix
1229 |
1230 |
1231 |
1232 | table-schema-cache-size
1233 |
1234 | table-schema-cache-size
1235 |
1236 |
1237 |
1238 | ALL
1239 | false
1240 | 30 sec
1241 |
1242 |
1243 | JDBC Connection Pool
1244 | 0816f679-a157-3799-0000-000000000000
1245 |
1246 |
1247 | Statement Type
1248 | INSERT
1249 |
1250 |
1251 | Table Name
1252 | connectLog
1253 |
1254 |
1255 | Catalog Name
1256 | websocketLogs
1257 |
1258 |
1259 | Schema Name
1260 |
1261 |
1262 | Translate Field Names
1263 | true
1264 |
1265 |
1266 | Unmatched Field Behavior
1267 | Ignore Unmatched Fields
1268 |
1269 |
1270 | Unmatched Column Behavior
1271 | Fail on Unmatched Columns
1272 |
1273 |
1274 | Update Keys
1275 |
1276 |
1277 | jts-quoted-identifiers
1278 | false
1279 |
1280 |
1281 | jts-quoted-table-identifiers
1282 | false
1283 |
1284 |
1285 | jts-sql-param-attr-prefix
1286 | sql
1287 |
1288 |
1289 | table-schema-cache-size
1290 | 100
1291 |
1292 |
1293 | 0
1294 | 0 sec
1295 | TIMER_DRIVEN
1296 | 1 sec
1297 |
1298 | false
1299 | ConvertJSONToSQL
1300 |
1301 | true
1302 | failure
1303 |
1304 |
1305 | true
1306 | original
1307 |
1308 |
1309 | false
1310 | sql
1311 |
1312 | STOPPED
1313 |
1314 | org.apache.nifi.processors.standard.ConvertJSONToSQL
1315 |
1316 |
1317 | UNBOUNDED
1318 | STREAM_WHEN_AVAILABLE
1319 | Websocket Dataflow
1320 |
1321 |
1322 |
1323 | 11/12/2020 17:59:38 UTC
1324 |
1325 |
--------------------------------------------------------------------------------
/templates/websocket/WebSocket_Dataflow_Part_2.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | e8b4b83e-0175-1000-a0c0-ea3263472c59
5 | WebSocket_Dataflow_Part_2
6 |
7 |
8 | 56e1f9d1-a937-32c9-0000-000000000000
9 | 568ac674-7b5f-350c-0000-000000000000
10 |
11 | nifi-record-serialization-services-nar
12 | org.apache.nifi
13 | 1.12.1
14 |
15 |
16 |
17 |
18 | Schema Write Strategy
19 |
20 | Schema Write Strategy
21 |
22 |
23 |
24 | schema-cache
25 |
26 | org.apache.nifi.serialization.RecordSchemaCacheService
27 | schema-cache
28 |
29 |
30 |
31 | schema-protocol-version
32 |
33 | schema-protocol-version
34 |
35 |
36 |
37 | schema-access-strategy
38 |
39 | schema-access-strategy
40 |
41 |
42 |
43 | schema-registry
44 |
45 | org.apache.nifi.schemaregistry.services.SchemaRegistry
46 | schema-registry
47 |
48 |
49 |
50 | schema-name
51 |
52 | schema-name
53 |
54 |
55 |
56 | schema-version
57 |
58 | schema-version
59 |
60 |
61 |
62 | schema-branch
63 |
64 | schema-branch
65 |
66 |
67 |
68 | schema-text
69 |
70 | schema-text
71 |
72 |
73 |
74 | Date Format
75 |
76 | Date Format
77 |
78 |
79 |
80 | Time Format
81 |
82 | Time Format
83 |
84 |
85 |
86 | Timestamp Format
87 |
88 | Timestamp Format
89 |
90 |
91 |
92 | Pretty Print JSON
93 |
94 | Pretty Print JSON
95 |
96 |
97 |
98 | suppress-nulls
99 |
100 | suppress-nulls
101 |
102 |
103 |
104 | output-grouping
105 |
106 | output-grouping
107 |
108 |
109 |
110 | compression-format
111 |
112 | compression-format
113 |
114 |
115 |
116 | compression-level
117 |
118 | compression-level
119 |
120 |
121 |
122 | JsonRecordSetWriterBASIC
123 | false
124 |
125 |
126 | Schema Write Strategy
127 | no-schema
128 |
129 |
130 | schema-cache
131 |
132 |
133 | schema-protocol-version
134 | 1
135 |
136 |
137 | schema-access-strategy
138 | inherit-record-schema
139 |
140 |
141 | schema-registry
142 |
143 |
144 | schema-name
145 | ${schema.name}
146 |
147 |
148 | schema-version
149 |
150 |
151 | schema-branch
152 |
153 |
154 | schema-text
155 | ${avro.schema}
156 |
157 |
158 | Date Format
159 |
160 |
161 | Time Format
162 |
163 |
164 | Timestamp Format
165 |
166 |
167 | Pretty Print JSON
168 | false
169 |
170 |
171 | suppress-nulls
172 | never-suppress
173 |
174 |
175 | output-grouping
176 | output-oneline
177 |
178 |
179 | compression-format
180 | none
181 |
182 |
183 | compression-level
184 | 1
185 |
186 |
187 | ENABLED
188 | org.apache.nifi.json.JsonRecordSetWriter
189 |
190 |
191 | c1aab93f-aeb2-33fe-0000-000000000000
192 | 568ac674-7b5f-350c-0000-000000000000
193 |
194 | nifi-dbcp-service-nar
195 | org.apache.nifi
196 | 1.12.1
197 |
198 |
199 |
200 |
201 | Database Connection URL
202 |
203 | Database Connection URL
204 |
205 |
206 |
207 | Database Driver Class Name
208 |
209 | Database Driver Class Name
210 |
211 |
212 |
213 | database-driver-locations
214 |
215 | database-driver-locations
216 |
217 |
218 |
219 | kerberos-credentials-service
220 |
221 | org.apache.nifi.kerberos.KerberosCredentialsService
222 | kerberos-credentials-service
223 |
224 |
225 |
226 | kerberos-principal
227 |
228 | kerberos-principal
229 |
230 |
231 |
232 | kerberos-password
233 |
234 | kerberos-password
235 |
236 |
237 |
238 | Database User
239 |
240 | Database User
241 |
242 |
243 |
244 | Password
245 |
246 | Password
247 |
248 |
249 |
250 | Max Wait Time
251 |
252 | Max Wait Time
253 |
254 |
255 |
256 | Max Total Connections
257 |
258 | Max Total Connections
259 |
260 |
261 |
262 | Validation-query
263 |
264 | Validation-query
265 |
266 |
267 |
268 | dbcp-min-idle-conns
269 |
270 | dbcp-min-idle-conns
271 |
272 |
273 |
274 | dbcp-max-idle-conns
275 |
276 | dbcp-max-idle-conns
277 |
278 |
279 |
280 | dbcp-max-conn-lifetime
281 |
282 | dbcp-max-conn-lifetime
283 |
284 |
285 |
286 | dbcp-time-between-eviction-runs
287 |
288 | dbcp-time-between-eviction-runs
289 |
290 |
291 |
292 | dbcp-min-evictable-idle-time
293 |
294 | dbcp-min-evictable-idle-time
295 |
296 |
297 |
298 | dbcp-soft-min-evictable-idle-time
299 |
300 | dbcp-soft-min-evictable-idle-time
301 |
302 |
303 |
304 | mySql Server
305 | false
306 |
307 |
308 | Database Connection URL
309 | jdbc:mysql://50.224.35.38:6974
310 |
311 |
312 | Database Driver Class Name
313 | com.mysql.cj.jdbc.Driver
314 |
315 |
316 | database-driver-locations
317 | /opt/nifi/nifi-current/drivers
318 |
319 |
320 | kerberos-credentials-service
321 |
322 |
323 | kerberos-principal
324 |
325 |
326 | kerberos-password
327 |
328 |
329 | Database User
330 | nifiUser
331 |
332 |
333 | Password
334 |
335 |
336 | Max Wait Time
337 | 500 millis
338 |
339 |
340 | Max Total Connections
341 | 8
342 |
343 |
344 | Validation-query
345 |
346 |
347 | dbcp-min-idle-conns
348 | 0
349 |
350 |
351 | dbcp-max-idle-conns
352 | 8
353 |
354 |
355 | dbcp-max-conn-lifetime
356 | -1
357 |
358 |
359 | dbcp-time-between-eviction-runs
360 | -1
361 |
362 |
363 | dbcp-min-evictable-idle-time
364 | 30 mins
365 |
366 |
367 | dbcp-soft-min-evictable-idle-time
368 | -1
369 |
370 |
371 | ENABLED
372 | org.apache.nifi.dbcp.DBCPConnectionPool
373 |
374 |
375 | c3ff9004-da22-327a-0000-000000000000
376 | 568ac674-7b5f-350c-0000-000000000000
377 |
378 | nifi-record-serialization-services-nar
379 | org.apache.nifi
380 | 1.12.1
381 |
382 |
383 |
384 |
385 | schema-access-strategy
386 |
387 | schema-access-strategy
388 |
389 |
390 |
391 | schema-registry
392 |
393 | org.apache.nifi.schemaregistry.services.SchemaRegistry
394 | schema-registry
395 |
396 |
397 |
398 | schema-name
399 |
400 | schema-name
401 |
402 |
403 |
404 | schema-version
405 |
406 | schema-version
407 |
408 |
409 |
410 | schema-branch
411 |
412 | schema-branch
413 |
414 |
415 |
416 | schema-text
417 |
418 | schema-text
419 |
420 |
421 |
422 | schema-inference-cache
423 |
424 | org.apache.nifi.serialization.RecordSchemaCacheService
425 | schema-inference-cache
426 |
427 |
428 |
429 | Date Format
430 |
431 | Date Format
432 |
433 |
434 |
435 | Time Format
436 |
437 | Time Format
438 |
439 |
440 |
441 | Timestamp Format
442 |
443 | Timestamp Format
444 |
445 |
446 |
447 | JsonTreeReaderBASIC
448 | false
449 |
450 |
451 | schema-access-strategy
452 | infer-schema
453 |
454 |
455 | schema-registry
456 |
457 |
458 | schema-name
459 | ${schema.name}
460 |
461 |
462 | schema-version
463 |
464 |
465 | schema-branch
466 |
467 |
468 | schema-text
469 | ${avro.schema}
470 |
471 |
472 | schema-inference-cache
473 |
474 |
475 | Date Format
476 |
477 |
478 | Time Format
479 |
480 |
481 | Timestamp Format
482 |
483 |
484 | ENABLED
485 | org.apache.nifi.json.JsonTreeReader
486 |
487 |
488 | 34035020-6315-3303-0000-000000000000
489 | 568ac674-7b5f-350c-0000-000000000000
490 |
491 | 0.0
492 | 0.0
493 |
494 |
495 |
496 |
497 | 0d549ffe-a81b-357b-0000-000000000000
498 | 34035020-6315-3303-0000-000000000000
499 | 1 GB
500 | 10000
501 |
502 | 184.0
503 | 1824.0
504 |
505 |
506 | -296.0
507 | 1824.0
508 |
509 |
510 | -360.0
511 | 1872.0
512 |
513 |
514 | 34035020-6315-3303-0000-000000000000
515 | 7dc77063-ae11-3194-0000-000000000000
516 | PROCESSOR
517 |
518 | 0 sec
519 | 1
520 | DO_NOT_COMPRESS
521 |
522 | LOAD_BALANCE_NOT_CONFIGURED
523 | DO_NOT_LOAD_BALANCE
524 |
525 | sql
526 |
527 | 34035020-6315-3303-0000-000000000000
528 | 0afc121c-3cc0-3db0-0000-000000000000
529 | PROCESSOR
530 |
531 | 0
532 |
533 |
534 | 5eecf11b-2b6a-358f-0000-000000000000
535 | 34035020-6315-3303-0000-000000000000
536 | 1 GB
537 | 10000
538 |
539 | -912.0
540 | 1848.0
541 |
542 |
543 | 34035020-6315-3303-0000-000000000000
544 | 7dc77063-ae11-3194-0000-000000000000
545 | PROCESSOR
546 |
547 | 0 sec
548 | 1
549 | DO_NOT_COMPRESS
550 |
551 | LOAD_BALANCE_NOT_CONFIGURED
552 | DO_NOT_LOAD_BALANCE
553 |
554 | sql
555 |
556 | 34035020-6315-3303-0000-000000000000
557 | 8e9b0ae7-ac2c-3c83-0000-000000000000
558 | PROCESSOR
559 |
560 | 0
561 |
562 |
563 | 684d7010-aff6-306f-0000-000000000000
564 | 34035020-6315-3303-0000-000000000000
565 | 1 GB
566 | 10000
567 |
568 | -912.0
569 | 1712.0
570 |
571 |
572 | 34035020-6315-3303-0000-000000000000
573 | 8e9b0ae7-ac2c-3c83-0000-000000000000
574 | PROCESSOR
575 |
576 | 0 sec
577 | 1
578 | DO_NOT_COMPRESS
579 |
580 | LOAD_BALANCE_NOT_CONFIGURED
581 | DO_NOT_LOAD_BALANCE
582 |
583 | qry
584 |
585 | 34035020-6315-3303-0000-000000000000
586 | f15e8ab7-bdb2-3149-0000-000000000000
587 | PROCESSOR
588 |
589 | 0
590 |
591 |
592 | 6c864a51-9f3c-3033-0000-000000000000
593 | 34035020-6315-3303-0000-000000000000
594 | 1 GB
595 | 10000
596 |
597 | -608.0
598 | 1088.0
599 |
600 |
601 | 34035020-6315-3303-0000-000000000000
602 | 7d32c1d2-0e5a-3135-0000-000000000000
603 | PROCESSOR
604 |
605 | 0 sec
606 | 0
607 | DO_NOT_COMPRESS
608 |
609 | LOAD_BALANCE_NOT_CONFIGURED
610 | DO_NOT_LOAD_BALANCE
611 |
612 | connected
613 |
614 | 34035020-6315-3303-0000-000000000000
615 | 5b6e2dea-d941-3841-0000-000000000000
616 | PROCESSOR
617 |
618 | 0
619 |
620 |
621 | 7bfe8eb0-b1d0-3ced-0000-000000000000
622 | 34035020-6315-3303-0000-000000000000
623 | 1 GB
624 | 10000
625 |
626 | -315.0
627 | 1895.0
628 |
629 |
630 | -315.0
631 | 1945.0
632 |
633 |
634 | 34035020-6315-3303-0000-000000000000
635 | 7dc77063-ae11-3194-0000-000000000000
636 | PROCESSOR
637 |
638 | 0 sec
639 | 1
640 | DO_NOT_COMPRESS
641 |
642 | LOAD_BALANCE_NOT_CONFIGURED
643 | DO_NOT_LOAD_BALANCE
644 |
645 | retry
646 |
647 | 34035020-6315-3303-0000-000000000000
648 | 7dc77063-ae11-3194-0000-000000000000
649 | PROCESSOR
650 |
651 | 0
652 |
653 |
654 | 8d9baef4-4e68-3915-0000-000000000000
655 | 34035020-6315-3303-0000-000000000000
656 | 1 GB
657 | 10000
658 |
659 | -912.0
660 | 1576.0
661 |
662 |
663 | 34035020-6315-3303-0000-000000000000
664 | f15e8ab7-bdb2-3149-0000-000000000000
665 | PROCESSOR
666 |
667 | 0 sec
668 | 1
669 | DO_NOT_COMPRESS
670 |
671 | LOAD_BALANCE_NOT_CONFIGURED
672 | DO_NOT_LOAD_BALANCE
673 |
674 | success
675 |
676 | 34035020-6315-3303-0000-000000000000
677 | 53df2b8d-7c55-3aac-0000-000000000000
678 | PROCESSOR
679 |
680 | 0
681 |
682 |
683 | 9ad77453-f263-3e14-0000-000000000000
684 | 34035020-6315-3303-0000-000000000000
685 | 1 GB
686 | 10000
687 |
688 | -128.0
689 | 1440.0
690 |
691 |
692 | 34035020-6315-3303-0000-000000000000
693 | 0afc121c-3cc0-3db0-0000-000000000000
694 | PROCESSOR
695 |
696 | 0 sec
697 | 0
698 | DO_NOT_COMPRESS
699 |
700 | LOAD_BALANCE_NOT_CONFIGURED
701 | DO_NOT_LOAD_BALANCE
702 |
703 | qry
704 |
705 | 34035020-6315-3303-0000-000000000000
706 | 016a3928-581d-3995-0000-000000000000
707 | PROCESSOR
708 |
709 | 0
710 |
711 |
712 | a01b9021-7278-3077-0000-000000000000
713 | 34035020-6315-3303-0000-000000000000
714 | 1 GB
715 | 10000
716 |
717 | -912.0
718 | 1440.0
719 |
720 |
721 | 34035020-6315-3303-0000-000000000000
722 | 53df2b8d-7c55-3aac-0000-000000000000
723 | PROCESSOR
724 |
725 | 0 sec
726 | 1
727 | DO_NOT_COMPRESS
728 |
729 | LOAD_BALANCE_NOT_CONFIGURED
730 | DO_NOT_LOAD_BALANCE
731 |
732 | connected
733 |
734 | 34035020-6315-3303-0000-000000000000
735 | 5b6e2dea-d941-3841-0000-000000000000
736 | PROCESSOR
737 |
738 | 0
739 |
740 |
741 | dcbcd794-dfa5-3c05-0000-000000000000
742 | 34035020-6315-3303-0000-000000000000
743 | 1 GB
744 | 10000
745 |
746 | 34035020-6315-3303-0000-000000000000
747 | 016a3928-581d-3995-0000-000000000000
748 | PROCESSOR
749 |
750 | 0 sec
751 | 1
752 | DO_NOT_COMPRESS
753 |
754 | LOAD_BALANCE_NOT_CONFIGURED
755 | DO_NOT_LOAD_BALANCE
756 |
757 | text message
758 |
759 | 34035020-6315-3303-0000-000000000000
760 | 5b6e2dea-d941-3841-0000-000000000000
761 | PROCESSOR
762 |
763 | 0
764 |
765 |
766 | 0a48df7b-7617-3408-0000-000000000000
767 | 34035020-6315-3303-0000-000000000000
768 |
769 | nifi-websocket-services-jetty-nar
770 | org.apache.nifi
771 | 1.12.1
772 |
773 |
774 |
775 |
776 | input-buffer-size
777 |
778 | input-buffer-size
779 |
780 |
781 |
782 | max-text-message-size
783 |
784 | max-text-message-size
785 |
786 |
787 |
788 | max-binary-message-size
789 |
790 | max-binary-message-size
791 |
792 |
793 |
794 | listen-port
795 |
796 | listen-port
797 |
798 |
799 |
800 | ssl-context-service
801 |
802 | org.apache.nifi.ssl.RestrictedSSLContextService
803 | ssl-context-service
804 |
805 |
806 |
807 | client-authentication
808 |
809 | client-authentication
810 |
811 |
812 |
813 | basic-auth
814 |
815 | basic-auth
816 |
817 |
818 |
819 | auth-path-spec
820 |
821 | auth-path-spec
822 |
823 |
824 |
825 | auth-roles
826 |
827 | auth-roles
828 |
829 |
830 |
831 | login-service
832 |
833 | login-service
834 |
835 |
836 |
837 | users-properties-file
838 |
839 | users-properties-file
840 |
841 |
842 |
843 | JettyWebSocketServer
844 | false
845 |
846 |
847 | input-buffer-size
848 | 4 kb
849 |
850 |
851 | max-text-message-size
852 | 64 kb
853 |
854 |
855 | max-binary-message-size
856 | 64 kb
857 |
858 |
859 | listen-port
860 | 6980
861 |
862 |
863 | ssl-context-service
864 |
865 |
866 | client-authentication
867 | no
868 |
869 |
870 | basic-auth
871 | false
872 |
873 |
874 | auth-path-spec
875 | /*
876 |
877 |
878 | auth-roles
879 | **
880 |
881 |
882 | login-service
883 | hash
884 |
885 |
886 | users-properties-file
887 |
888 |
889 | ENABLED
890 | org.apache.nifi.websocket.jetty.JettyWebSocketServer
891 |
892 |
893 | ae767456-1322-3bf2-0000-000000000000
894 | 34035020-6315-3303-0000-000000000000
895 |
896 | 376.0
897 | 1312.0
898 |
899 | 72.0
900 |
904 |
910 | 408.0
911 |
912 |
913 | bc15c003-2460-33df-0000-000000000000
914 | 34035020-6315-3303-0000-000000000000
915 |
916 | -416.0
917 | 1584.0
918 |
919 | 104.0
920 |
926 |
932 | 344.0
933 |
934 |
935 | c4342fe2-f621-3f11-0000-000000000000
936 | 34035020-6315-3303-0000-000000000000
937 |
938 | -1048.0
939 | 1232.0
940 |
941 | 56.0
942 |
943 |
949 | 248.0
950 |
951 |
952 | 016a3928-581d-3995-0000-000000000000
953 | 34035020-6315-3303-0000-000000000000
954 |
955 | 8.0
956 | 1312.0
957 |
958 |
959 | nifi-standard-nar
960 | org.apache.nifi
961 | 1.12.1
962 |
963 |
964 | WARN
965 |
966 | 1
967 |
968 |
969 | record-reader
970 |
971 | org.apache.nifi.serialization.RecordReaderFactory
972 | record-reader
973 |
974 |
975 |
976 | record-writer
977 |
978 | org.apache.nifi.serialization.RecordSetWriterFactory
979 | record-writer
980 |
981 |
982 |
983 | include-zero-record-flowfiles
984 |
985 | include-zero-record-flowfiles
986 |
987 |
988 |
989 | cache-schema
990 |
991 | cache-schema
992 |
993 |
994 |
995 | qry
996 |
997 | qry
998 |
999 |
1000 |
1001 | ALL
1002 | false
1003 | 30 sec
1004 |
1005 |
1006 | record-reader
1007 | c3ff9004-da22-327a-0000-000000000000
1008 |
1009 |
1010 | record-writer
1011 | 56e1f9d1-a937-32c9-0000-000000000000
1012 |
1013 |
1014 | include-zero-record-flowfiles
1015 | true
1016 |
1017 |
1018 | cache-schema
1019 | true
1020 |
1021 |
1022 | qry
1023 | select
1024 | cast('${websocket.session.id}' as varchar(256)) as websocketSessionId
1025 | , msg
1026 | from FLOWFILE
1027 |
1028 |
1029 | 0
1030 | 0 sec
1031 | TIMER_DRIVEN
1032 | 1 sec
1033 |
1034 | false
1035 | QueryRecord
1036 |
1037 | true
1038 | failure
1039 |
1040 |
1041 | true
1042 | original
1043 |
1044 |
1045 | false
1046 | qry
1047 |
1048 | RUNNING
1049 |
1050 | org.apache.nifi.processors.standard.QueryRecord
1051 |
1052 |
1053 | 0afc121c-3cc0-3db0-0000-000000000000
1054 | 34035020-6315-3303-0000-000000000000
1055 |
1056 | 8.0
1057 | 1448.0
1058 |
1059 |
1060 | nifi-standard-nar
1061 | org.apache.nifi
1062 | 1.12.1
1063 |
1064 |
1065 | WARN
1066 |
1067 | 1
1068 |
1069 |
1070 | JDBC Connection Pool
1071 |
1072 | org.apache.nifi.dbcp.DBCPService
1073 | JDBC Connection Pool
1074 |
1075 |
1076 |
1077 | Statement Type
1078 |
1079 | Statement Type
1080 |
1081 |
1082 |
1083 | Table Name
1084 |
1085 | Table Name
1086 |
1087 |
1088 |
1089 | Catalog Name
1090 |
1091 | Catalog Name
1092 |
1093 |
1094 |
1095 | Schema Name
1096 |
1097 | Schema Name
1098 |
1099 |
1100 |
1101 | Translate Field Names
1102 |
1103 | Translate Field Names
1104 |
1105 |
1106 |
1107 | Unmatched Field Behavior
1108 |
1109 | Unmatched Field Behavior
1110 |
1111 |
1112 |
1113 | Unmatched Column Behavior
1114 |
1115 | Unmatched Column Behavior
1116 |
1117 |
1118 |
1119 | Update Keys
1120 |
1121 | Update Keys
1122 |
1123 |
1124 |
1125 | jts-quoted-identifiers
1126 |
1127 | jts-quoted-identifiers
1128 |
1129 |
1130 |
1131 | jts-quoted-table-identifiers
1132 |
1133 | jts-quoted-table-identifiers
1134 |
1135 |
1136 |
1137 | jts-sql-param-attr-prefix
1138 |
1139 | jts-sql-param-attr-prefix
1140 |
1141 |
1142 |
1143 | table-schema-cache-size
1144 |
1145 | table-schema-cache-size
1146 |
1147 |
1148 |
1149 | ALL
1150 | false
1151 | 30 sec
1152 |
1153 |
1154 | JDBC Connection Pool
1155 | c1aab93f-aeb2-33fe-0000-000000000000
1156 |
1157 |
1158 | Statement Type
1159 | INSERT
1160 |
1161 |
1162 | Table Name
1163 | messageLog
1164 |
1165 |
1166 | Catalog Name
1167 | websocketLogs
1168 |
1169 |
1170 | Schema Name
1171 |
1172 |
1173 | Translate Field Names
1174 | true
1175 |
1176 |
1177 | Unmatched Field Behavior
1178 | Ignore Unmatched Fields
1179 |
1180 |
1181 | Unmatched Column Behavior
1182 | Fail on Unmatched Columns
1183 |
1184 |
1185 | Update Keys
1186 |
1187 |
1188 | jts-quoted-identifiers
1189 | false
1190 |
1191 |
1192 | jts-quoted-table-identifiers
1193 | false
1194 |
1195 |
1196 | jts-sql-param-attr-prefix
1197 | sql
1198 |
1199 |
1200 | table-schema-cache-size
1201 | 100
1202 |
1203 |
1204 | 0
1205 | 0 sec
1206 | TIMER_DRIVEN
1207 | 1 sec
1208 |
1209 | false
1210 | ConvertJSONToSQL
1211 |
1212 | true
1213 | failure
1214 |
1215 |
1216 | true
1217 | original
1218 |
1219 |
1220 | false
1221 | sql
1222 |
1223 | RUNNING
1224 |
1225 | org.apache.nifi.processors.standard.ConvertJSONToSQL
1226 |
1227 |
1228 | 53df2b8d-7c55-3aac-0000-000000000000
1229 | 34035020-6315-3303-0000-000000000000
1230 |
1231 | -784.0
1232 | 1448.0
1233 |
1234 |
1235 | nifi-standard-nar
1236 | org.apache.nifi
1237 | 1.12.1
1238 |
1239 |
1240 | WARN
1241 |
1242 | 1
1243 |
1244 |
1245 | Attributes List
1246 |
1247 | Attributes List
1248 |
1249 |
1250 |
1251 | attributes-to-json-regex
1252 |
1253 | attributes-to-json-regex
1254 |
1255 |
1256 |
1257 | Destination
1258 |
1259 | Destination
1260 |
1261 |
1262 |
1263 | Include Core Attributes
1264 |
1265 | Include Core Attributes
1266 |
1267 |
1268 |
1269 | Null Value
1270 |
1271 | Null Value
1272 |
1273 |
1274 |
1275 | ALL
1276 | false
1277 | 30 sec
1278 |
1279 |
1280 | Attributes List
1281 | websocket.session.id,
1282 | websocket.local.address,
1283 | websocket.message.type,
1284 | websocket.remote.address
1285 |
1286 |
1287 | attributes-to-json-regex
1288 |
1289 |
1290 | Destination
1291 | flowfile-content
1292 |
1293 |
1294 | Include Core Attributes
1295 | true
1296 |
1297 |
1298 | Null Value
1299 | false
1300 |
1301 |
1302 | 0
1303 | 0 sec
1304 | TIMER_DRIVEN
1305 | 1 sec
1306 |
1307 | false
1308 | AttributesToJSON
1309 |
1310 | true
1311 | failure
1312 |
1313 |
1314 | false
1315 | success
1316 |
1317 | RUNNING
1318 |
1319 | org.apache.nifi.processors.standard.AttributesToJSON
1320 |
1321 |
1322 | 5b6e2dea-d941-3841-0000-000000000000
1323 | 34035020-6315-3303-0000-000000000000
1324 |
1325 | -783.5332876589193
1326 | 1311.9122745025065
1327 |
1328 |
1329 | nifi-websocket-processors-nar
1330 | org.apache.nifi
1331 | 1.12.1
1332 |
1333 |
1334 | WARN
1335 |
1336 | 1
1337 |
1338 |
1339 | websocket-server-controller-service
1340 |
1341 | org.apache.nifi.websocket.WebSocketServerService
1342 | websocket-server-controller-service
1343 |
1344 |
1345 |
1346 | server-url-path
1347 |
1348 | server-url-path
1349 |
1350 |
1351 |
1352 | ALL
1353 | false
1354 | 30 sec
1355 |
1356 |
1357 | websocket-server-controller-service
1358 | 0a48df7b-7617-3408-0000-000000000000
1359 |
1360 |
1361 | server-url-path
1362 | /chat
1363 |
1364 |
1365 | 0
1366 | 0 sec
1367 | TIMER_DRIVEN
1368 | 1 sec
1369 |
1370 | false
1371 | ListenWebSocket
1372 |
1373 | true
1374 | binary message
1375 |
1376 |
1377 | false
1378 | connected
1379 |
1380 |
1381 | false
1382 | text message
1383 |
1384 | RUNNING
1385 |
1386 | org.apache.nifi.processors.websocket.ListenWebSocket
1387 |
1388 |
1389 | 7d32c1d2-0e5a-3135-0000-000000000000
1390 | 34035020-6315-3303-0000-000000000000
1391 |
1392 | -264.0
1393 | 1024.0
1394 |
1395 |
1396 | nifi-websocket-processors-nar
1397 | org.apache.nifi
1398 | 1.12.1
1399 |
1400 |
1401 | WARN
1402 |
1403 | 1
1404 |
1405 |
1406 | websocket-session-id
1407 |
1408 | websocket-session-id
1409 |
1410 |
1411 |
1412 | websocket-controller-service-id
1413 |
1414 | websocket-controller-service-id
1415 |
1416 |
1417 |
1418 | websocket-endpoint-id
1419 |
1420 | websocket-endpoint-id
1421 |
1422 |
1423 |
1424 | websocket-message-type
1425 |
1426 | websocket-message-type
1427 |
1428 |
1429 |
1430 | ALL
1431 | false
1432 | 30 sec
1433 |
1434 |
1435 | websocket-session-id
1436 | ${websocket.session.id}
1437 |
1438 |
1439 | websocket-controller-service-id
1440 | ${websocket.controller.service.id}
1441 |
1442 |
1443 | websocket-endpoint-id
1444 | ${websocket.endpoint.id}
1445 |
1446 |
1447 | websocket-message-type
1448 | TEXT
1449 |
1450 |
1451 | 0
1452 | 0 sec
1453 | TIMER_DRIVEN
1454 | 1 sec
1455 |
1456 | false
1457 | PutWebSocket
1458 |
1459 | true
1460 | failure
1461 |
1462 |
1463 | true
1464 | success
1465 |
1466 | RUNNING
1467 |
1468 | org.apache.nifi.processors.websocket.PutWebSocket
1469 |
1470 |
1471 | 7dc77063-ae11-3194-0000-000000000000
1472 | 34035020-6315-3303-0000-000000000000
1473 |
1474 | -784.0
1475 | 1856.0
1476 |
1477 |
1478 | nifi-standard-nar
1479 | org.apache.nifi
1480 | 1.12.1
1481 |
1482 |
1483 | WARN
1484 |
1485 | 1
1486 |
1487 |
1488 | JDBC Connection Pool
1489 |
1490 | org.apache.nifi.dbcp.DBCPService
1491 | JDBC Connection Pool
1492 |
1493 |
1494 |
1495 | putsql-sql-statement
1496 |
1497 | putsql-sql-statement
1498 |
1499 |
1500 |
1501 | Support Fragmented Transactions
1502 |
1503 | Support Fragmented Transactions
1504 |
1505 |
1506 |
1507 | database-session-autocommit
1508 |
1509 | database-session-autocommit
1510 |
1511 |
1512 |
1513 | Transaction Timeout
1514 |
1515 | Transaction Timeout
1516 |
1517 |
1518 |
1519 | Batch Size
1520 |
1521 | Batch Size
1522 |
1523 |
1524 |
1525 | Obtain Generated Keys
1526 |
1527 | Obtain Generated Keys
1528 |
1529 |
1530 |
1531 | rollback-on-failure
1532 |
1533 | rollback-on-failure
1534 |
1535 |
1536 |
1537 | ALL
1538 | false
1539 | 30 sec
1540 |
1541 |
1542 | JDBC Connection Pool
1543 | c1aab93f-aeb2-33fe-0000-000000000000
1544 |
1545 |
1546 | putsql-sql-statement
1547 |
1548 |
1549 | Support Fragmented Transactions
1550 | true
1551 |
1552 |
1553 | database-session-autocommit
1554 | false
1555 |
1556 |
1557 | Transaction Timeout
1558 |
1559 |
1560 | Batch Size
1561 | 100
1562 |
1563 |
1564 | Obtain Generated Keys
1565 | false
1566 |
1567 |
1568 | rollback-on-failure
1569 | false
1570 |
1571 |
1572 | 0
1573 | 0 sec
1574 | TIMER_DRIVEN
1575 | 1 sec
1576 |
1577 | false
1578 | PutSQL
1579 |
1580 | true
1581 | failure
1582 |
1583 |
1584 | false
1585 | retry
1586 |
1587 |
1588 | true
1589 | success
1590 |
1591 | RUNNING
1592 |
1593 | org.apache.nifi.processors.standard.PutSQL
1594 |
1595 |
1596 | 8e9b0ae7-ac2c-3c83-0000-000000000000
1597 | 34035020-6315-3303-0000-000000000000
1598 |
1599 | -784.0
1600 | 1720.0
1601 |
1602 |
1603 | nifi-standard-nar
1604 | org.apache.nifi
1605 | 1.12.1
1606 |
1607 |
1608 | WARN
1609 |
1610 | 1
1611 |
1612 |
1613 | JDBC Connection Pool
1614 |
1615 | org.apache.nifi.dbcp.DBCPService
1616 | JDBC Connection Pool
1617 |
1618 |
1619 |
1620 | Statement Type
1621 |
1622 | Statement Type
1623 |
1624 |
1625 |
1626 | Table Name
1627 |
1628 | Table Name
1629 |
1630 |
1631 |
1632 | Catalog Name
1633 |
1634 | Catalog Name
1635 |
1636 |
1637 |
1638 | Schema Name
1639 |
1640 | Schema Name
1641 |
1642 |
1643 |
1644 | Translate Field Names
1645 |
1646 | Translate Field Names
1647 |
1648 |
1649 |
1650 | Unmatched Field Behavior
1651 |
1652 | Unmatched Field Behavior
1653 |
1654 |
1655 |
1656 | Unmatched Column Behavior
1657 |
1658 | Unmatched Column Behavior
1659 |
1660 |
1661 |
1662 | Update Keys
1663 |
1664 | Update Keys
1665 |
1666 |
1667 |
1668 | jts-quoted-identifiers
1669 |
1670 | jts-quoted-identifiers
1671 |
1672 |
1673 |
1674 | jts-quoted-table-identifiers
1675 |
1676 | jts-quoted-table-identifiers
1677 |
1678 |
1679 |
1680 | jts-sql-param-attr-prefix
1681 |
1682 | jts-sql-param-attr-prefix
1683 |
1684 |
1685 |
1686 | table-schema-cache-size
1687 |
1688 | table-schema-cache-size
1689 |
1690 |
1691 |
1692 | ALL
1693 | false
1694 | 30 sec
1695 |
1696 |
1697 | JDBC Connection Pool
1698 | c1aab93f-aeb2-33fe-0000-000000000000
1699 |
1700 |
1701 | Statement Type
1702 | INSERT
1703 |
1704 |
1705 | Table Name
1706 | connectLog
1707 |
1708 |
1709 | Catalog Name
1710 | websocketLogs
1711 |
1712 |
1713 | Schema Name
1714 |
1715 |
1716 | Translate Field Names
1717 | true
1718 |
1719 |
1720 | Unmatched Field Behavior
1721 | Ignore Unmatched Fields
1722 |
1723 |
1724 | Unmatched Column Behavior
1725 | Fail on Unmatched Columns
1726 |
1727 |
1728 | Update Keys
1729 |
1730 |
1731 | jts-quoted-identifiers
1732 | false
1733 |
1734 |
1735 | jts-quoted-table-identifiers
1736 | false
1737 |
1738 |
1739 | jts-sql-param-attr-prefix
1740 | sql
1741 |
1742 |
1743 | table-schema-cache-size
1744 | 100
1745 |
1746 |
1747 | 0
1748 | 0 sec
1749 | TIMER_DRIVEN
1750 | 1 sec
1751 |
1752 | false
1753 | ConvertJSONToSQL
1754 |
1755 | true
1756 | failure
1757 |
1758 |
1759 | true
1760 | original
1761 |
1762 |
1763 | false
1764 | sql
1765 |
1766 | RUNNING
1767 |
1768 | org.apache.nifi.processors.standard.ConvertJSONToSQL
1769 |
1770 |
1771 | f15e8ab7-bdb2-3149-0000-000000000000
1772 | 34035020-6315-3303-0000-000000000000
1773 |
1774 | -784.0
1775 | 1584.0
1776 |
1777 |
1778 | nifi-standard-nar
1779 | org.apache.nifi
1780 | 1.12.1
1781 |
1782 |
1783 | WARN
1784 |
1785 | 1
1786 |
1787 |
1788 | record-reader
1789 |
1790 | org.apache.nifi.serialization.RecordReaderFactory
1791 | record-reader
1792 |
1793 |
1794 |
1795 | record-writer
1796 |
1797 | org.apache.nifi.serialization.RecordSetWriterFactory
1798 | record-writer
1799 |
1800 |
1801 |
1802 | include-zero-record-flowfiles
1803 |
1804 | include-zero-record-flowfiles
1805 |
1806 |
1807 |
1808 | cache-schema
1809 |
1810 | cache-schema
1811 |
1812 |
1813 |
1814 | qry
1815 |
1816 | qry
1817 |
1818 |
1819 |
1820 | ALL
1821 | false
1822 | 30 sec
1823 |
1824 |
1825 | record-reader
1826 | c3ff9004-da22-327a-0000-000000000000
1827 |
1828 |
1829 | record-writer
1830 | 56e1f9d1-a937-32c9-0000-000000000000
1831 |
1832 |
1833 | include-zero-record-flowfiles
1834 | true
1835 |
1836 |
1837 | cache-schema
1838 | true
1839 |
1840 |
1841 | qry
1842 | select
1843 | "websocket.message.type" as websocketEndpointId
1844 | ,"websocket.local.address" as websocketLocalAddress
1845 | ,"websocket.remote.address" as websocketRemoteAddress
1846 | ,"websocket.session.id" as websocketSessionId
1847 | from FLOWFILE
1848 |
1849 |
1850 | 0
1851 | 0 sec
1852 | TIMER_DRIVEN
1853 | 1 sec
1854 |
1855 | false
1856 | QueryRecord
1857 |
1858 | true
1859 | failure
1860 |
1861 |
1862 | true
1863 | original
1864 |
1865 |
1866 | false
1867 | qry
1868 |
1869 | RUNNING
1870 |
1871 | org.apache.nifi.processors.standard.QueryRecord
1872 |
1873 |
1874 | UNBOUNDED
1875 | STREAM_WHEN_AVAILABLE
1876 | Websocket Dataflow
1877 |
1878 |
1879 |
1880 | 11/24/2020 15:57:59 UTC
1881 |
1882 |
--------------------------------------------------------------------------------
/templates/websocket/main.py:
--------------------------------------------------------------------------------
1 | import asyncio
2 | import websockets
3 |
4 | async def produce(message: str, host: str, port: int) -> None:
5 | async with websockets.connect(f"ws://{host}:{port}/chat") as ws:
6 | await ws.send(message)
7 | await ws.recv()
8 |
9 | loop = asyncio.get_event_loop()
10 | loop.run_until_complete(produce(message='{"msg" : "Time for a little chat."}', host='yourIp', port=8888))
--------------------------------------------------------------------------------