├── Archive
├── server.sh
├── app.js
├── icons
│ ├── icon16x16.png
│ ├── icon48x48.png
│ ├── icon60x60.png
│ └── icon128x128.png
├── manifest.webapp
└── index.html
├── images
├── WebPage.png
├── WorkingFlow.png
├── ImportTemplate.png
├── StartTemplate.png
├── configureHTTP.png
├── NifiAddTemplate.png
├── NifiTemplateAdded.png
├── ConfigureWebSocket.png
├── NifiInitialLaunchPage.png
└── configureHTTPRequest.png
├── README.md
└── HelloWorld.xml
/Archive/server.sh:
--------------------------------------------------------------------------------
1 | cat /Users/drice/Documents/websocket/index.html
2 |
--------------------------------------------------------------------------------
/images/WebPage.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/drnice/NifiHelloWorld/HEAD/images/WebPage.png
--------------------------------------------------------------------------------
/images/WorkingFlow.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/drnice/NifiHelloWorld/HEAD/images/WorkingFlow.png
--------------------------------------------------------------------------------
/Archive/app.js:
--------------------------------------------------------------------------------
1 | window.addEventListener("load", function() {
2 | console.log("Hello World!");
3 | });
4 |
--------------------------------------------------------------------------------
/images/ImportTemplate.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/drnice/NifiHelloWorld/HEAD/images/ImportTemplate.png
--------------------------------------------------------------------------------
/images/StartTemplate.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/drnice/NifiHelloWorld/HEAD/images/StartTemplate.png
--------------------------------------------------------------------------------
/images/configureHTTP.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/drnice/NifiHelloWorld/HEAD/images/configureHTTP.png
--------------------------------------------------------------------------------
/Archive/icons/icon16x16.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/drnice/NifiHelloWorld/HEAD/Archive/icons/icon16x16.png
--------------------------------------------------------------------------------
/Archive/icons/icon48x48.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/drnice/NifiHelloWorld/HEAD/Archive/icons/icon48x48.png
--------------------------------------------------------------------------------
/Archive/icons/icon60x60.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/drnice/NifiHelloWorld/HEAD/Archive/icons/icon60x60.png
--------------------------------------------------------------------------------
/images/NifiAddTemplate.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/drnice/NifiHelloWorld/HEAD/images/NifiAddTemplate.png
--------------------------------------------------------------------------------
/images/NifiTemplateAdded.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/drnice/NifiHelloWorld/HEAD/images/NifiTemplateAdded.png
--------------------------------------------------------------------------------
/Archive/icons/icon128x128.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/drnice/NifiHelloWorld/HEAD/Archive/icons/icon128x128.png
--------------------------------------------------------------------------------
/images/ConfigureWebSocket.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/drnice/NifiHelloWorld/HEAD/images/ConfigureWebSocket.png
--------------------------------------------------------------------------------
/images/NifiInitialLaunchPage.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/drnice/NifiHelloWorld/HEAD/images/NifiInitialLaunchPage.png
--------------------------------------------------------------------------------
/images/configureHTTPRequest.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/drnice/NifiHelloWorld/HEAD/images/configureHTTPRequest.png
--------------------------------------------------------------------------------
/Archive/manifest.webapp:
--------------------------------------------------------------------------------
1 | {
2 | "name": "websocket",
3 | "description": "A Hello World app",
4 | "launch_path": "/index.html",
5 | "icons": {
6 | "16": "/icons/icon16x16.png",
7 | "48": "/icons/icon48x48.png",
8 | "60": "/icons/icon60x60.png",
9 | "128": "/icons/icon128x128.png"
10 | },
11 | "developer": {
12 | "name": "Your name",
13 | "url": "http://example.com"
14 | }
15 | }
--------------------------------------------------------------------------------
/Archive/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Echo Chamber
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
77 |
78 |
79 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # Nifi Hello World Example
2 | Apache Nifi is a Data Flow tool that allows for data to be pulled or put into Nifi from many different endpoints. Once the data is inside of Nifi it can then route data based on payload, enrich data, amongst do many other things before landing this data into another data repository (such as Hbase, Solr, HDFS, RDBMs, etc). There are over 180+ different processors built inside Nifi and the hopes is to show you in this tutorial how to use Nifi as a WebServer and WebSocket to stream data and write data down to a flat file. The intention of this tutorial is to provide a basic understanding of flexibility, ease of use this open source tool provides. This tutorial will leverage Apache Nifi as a web server that launches a web page that accepts any value. When you enter the value you then open a web socket to another Nifi Processor, Send the value in the text box to Nifi and Nifi will write the contents to a location as defined in the PutFile processor.
3 |
4 | # Download/Install
5 | Download Apache Nifi here - https://nifi.apache.org/download.html
6 | This Repo project was tested with version 1.1.0 but should work with later versions.
7 |
8 | Follow guidance to download and install the software as illustrated here - https://nifi.apache.org/docs.html
9 |
10 | Once the setup is working like in my screen shot below
11 |
12 | 
13 |
14 |
15 |
16 | If you can log into the Nifi Dashboard you can proceed to the next step.
17 |
18 |
19 | # Import XML Nifi Template
20 |
21 | Download or clone this repo....remember the location you downloaded this repo to.
22 | Now that you have successfully installed Nifi lets import the XML file included in this repository named HelloWorld.xml. To do this follow the image below and choose import after selecting the HelloWorld.xml to import.
23 |
24 | 
25 |
26 |
27 | # Add Template to Nifi Canvas
28 |
29 | Now that we have the Nifi Template uploaded we have to now download add the template to the canvas as shown in the screen shot below
30 |
31 | 
32 |
33 | Once you click Add you’ll see the below screen shot on your canvas
34 |
35 | 
36 |
37 | Notice the Red Circled Warning icons on the different Nifi processors that I circled in red. The are warning that we will have to address. NOTE: You probably have another Processor or Two with different warnings on the (Such as ExecuteStreamCommand and PutFile). I’ll explain why after we get through configuring these three circled processors first.
38 |
39 | # Configure HandleHttpRequest Nifi Processor
40 |
41 | Now what we have to do is right click on processor named Nifi-WebServer-HandleHTTP processor (which is the HandleHTTPRequest Nifi Processor) and click on Configure. This will open up a configuration window as shown in the picture below
42 |
43 | 
44 |
45 | NOTE:
46 | The listening port an HTTP request is listening on port = 6688
47 | The hostname = localhost
48 | The HTTP Context Map = No Value Set
49 |
50 | Action = click on the No Value Set row next to HTTP Context Map hit the drop down arrow and select Create new service. This will bring up an Add Controller Service window where you’ll have to create a StandardHttpContextMap service which should be populated within the dropdown for you automatically. Select “Create” and that should create the context map.
51 |
52 | Now that you are back in the Configure Processor window you should see StandardHttpContextMap next to HTTP Context Map.
53 |
54 | Action = Notice the arrow pointing to the right in the third column. Click on the arrow and this will bring up the Process Group Configuration window on the Controller Services tab. Notice that the StandardHttpContextMap State is listed on disable. Click on the lightening bolt all the way on the right side to enable this controller service. Leave the option as service only and click “Enable”. Once enabled you can close the Enable Controller Service and click the “X” in the top right corner of the window to close the Process Group Configuration window.
55 |
56 | We should now be back on the Nifi Canvas looking at the Processor named Nifi-WebServer-HandleHTTP changed from a yellow exclamation to a Red Box.
57 |
58 |
59 |
60 | # Configure HandleHttpResponse Nifi Processor
61 | Now lets right click on the HandleHTTPResponse Nifi Process click on Configure and next to HTTP Context Map there it should say “No Value Set” (note mine has this GUID value). Click the drop down and select StandardHttpContetMap. NOTE: This is the same Context Map that we created in the previous step.
62 |
63 | See Below for a screen shot
64 |
65 | 
66 |
67 |
68 | Once you select Apply you’ll see the yellow warning again change to a “Red Box” shape.
69 |
70 |
71 | # Configure ListenWebSocket Nifi Processor
72 | Right click on ListenWebSocket Nifi Processor and select Configure. Next to WebSocket Server ControllerService click the value listed as “No Value Set” and in the dropdown select JettyWebSocketServer.
73 |
74 | See image below
75 | 
76 |
77 | Select “Create”. Just as before the arrow pointing to the right now appears next to JettyWebSocketServer. Click on the arrow pointing to the right. Click “Yes” to save changes. This opens the Process Group Configuration screen with the Controller Services tab selected. We just created a new controller service called JettyWebServer. Notice the state is invalid that is because we need to add a listening port to this controller service. Click the pencil icon all the way to the right. This will open up a configure controller service window. For the Property “Listen Port” lets set that to 9998. (The reason I selected 9998 is because the index.html code in the Archive directory is going to make a web socket request on this port.). Select “APPLY” and now click the lightening bolt icon to enabled the service.
78 |
79 | # The other processors (ExecuteStream Command and Put File)
80 | Right click on the ExecuteStream process Processor and select configure make sure you set the “Command Path” property to a directory that exists with the server.sh file from the github repo. In this example it is using this directory “/Users/drice/Downloads/Software/nifi-1.1.0.2.1.2.0-10/server.sh”
81 |
82 | Also make sure you edit the content of the server.sh file. Currently this content is “/Users/drice/Documents/websocket/index.html”. Again you’ll want to make sure to modify this directory structure to match where you have the index.html on your system.
83 |
84 | Lastly the PutFile process - where the data will write the contents of the stream. Current value is set to “/Users/drice/Downloads/Software/nifi-1.1.0.2.1.2.0-10/logs”. Make sure the directory changes to reflect a proper value for your system.
85 |
86 | # Starting the flow
87 | Now that we have configured everything we should be able to click anywhere on the canvas (on the Grid and not on a processor or a connection) and click start. As shown below.
88 |
89 | 
90 |
91 | This will start all the processors within Nifi. If successful you should be able to first Launch a Web Page if you point your browser at http://localhost:6688
92 |
93 | 
94 |
95 | Now you can type anything in the text field. Click on Open, then Send and this will write data out to the directory you defined in the put file processor. See image below as an example.
96 |
97 |
98 | 
99 |
100 |
101 |
102 |
103 |
104 |
105 |
--------------------------------------------------------------------------------
/HelloWorld.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | This simple example shows how nifi can run as a web server and receive messages from a websocket to write to a local filesystem.
4 |
5 | b4bc3d5f-015b-1000-5f92-d6f9ac5d4792
6 | HelloWorld
7 |
8 |
9 | b550bc97-015b-1000-0000-000000000000
10 | b4bc3d5f-015b-1000-0000-000000000000
11 | 1 GB
12 | 10000
13 |
14 | b4bc3d5f-015b-1000-0000-000000000000
15 | b55098cb-015b-1000-0000-000000000000
16 | PROCESSOR
17 |
18 | 0 sec
19 | 1
20 |
21 | original
22 |
23 | b4bc3d5f-015b-1000-0000-000000000000
24 | 01591013-1d2b-177f-0000-000000000000
25 | PROCESSOR
26 |
27 | 0
28 |
29 |
30 | b5541d7e-015b-1000-0000-000000000000
31 | b4bc3d5f-015b-1000-0000-000000000000
32 | 1 GB
33 | 10000
34 |
35 | b4bc3d5f-015b-1000-0000-000000000000
36 | 01591007-1d2b-177f-0000-000000000000
37 | PROCESSOR
38 |
39 | 0 sec
40 | 1
41 |
42 | success
43 |
44 | b4bc3d5f-015b-1000-0000-000000000000
45 | 01591010-1d2b-177f-0000-000000000000
46 | PROCESSOR
47 |
48 | 0
49 |
50 |
51 | b554e6f7-015b-1000-0000-000000000000
52 | b4bc3d5f-015b-1000-0000-000000000000
53 | 1 GB
54 | 10000
55 |
56 | b4bc3d5f-015b-1000-0000-000000000000
57 | b55098cb-015b-1000-0000-000000000000
58 | PROCESSOR
59 |
60 | 0 sec
61 | 1
62 |
63 | binary message
64 | connected
65 | text message
66 |
67 | b4bc3d5f-015b-1000-0000-000000000000
68 | 01591005-1d2b-177f-0000-000000000000
69 | PROCESSOR
70 |
71 | 0
72 |
73 |
74 | b556d55f-015b-1000-0000-000000000000
75 | b4bc3d5f-015b-1000-0000-000000000000
76 | 1 GB
77 | 10000
78 |
79 | b4bc3d5f-015b-1000-0000-000000000000
80 | 01591010-1d2b-177f-0000-000000000000
81 | PROCESSOR
82 |
83 | 0 sec
84 | 1
85 |
86 | text message
87 |
88 | b4bc3d5f-015b-1000-0000-000000000000
89 | 01591005-1d2b-177f-0000-000000000000
90 | PROCESSOR
91 |
92 | 0
93 |
94 |
95 | 01591014-1d2b-177f-0000-000000000000
96 | b4bc3d5f-015b-1000-0000-000000000000
97 | 1 GB
98 | 10000
99 |
100 | b4bc3d5f-015b-1000-0000-000000000000
101 | 01591013-1d2b-177f-0000-000000000000
102 | PROCESSOR
103 |
104 | 0 sec
105 | 1
106 |
107 | success
108 |
109 | b4bc3d5f-015b-1000-0000-000000000000
110 | 0159100b-1d2b-177f-0000-000000000000
111 | PROCESSOR
112 |
113 | 0
114 |
115 |
116 | 01591015-1d2b-177f-0000-000000000000
117 | b4bc3d5f-015b-1000-0000-000000000000
118 | 1 GB
119 | 10000
120 |
121 | b4bc3d5f-015b-1000-0000-000000000000
122 | 0159100c-1d2b-177f-0000-000000000000
123 | PROCESSOR
124 |
125 | 0 sec
126 | 1
127 |
128 | output stream
129 |
130 | b4bc3d5f-015b-1000-0000-000000000000
131 | 01591013-1d2b-177f-0000-000000000000
132 | PROCESSOR
133 |
134 | 0
135 |
136 |
137 | b4d6c5fa-015b-1000-0000-000000000000
138 | b4bc3d5f-015b-1000-0000-000000000000
139 |
140 |
141 |
142 | input-buffer-size
143 |
144 | input-buffer-size
145 |
146 |
147 |
148 | max-text-message-size
149 |
150 | max-text-message-size
151 |
152 |
153 |
154 | max-binary-message-size
155 |
156 | max-binary-message-size
157 |
158 |
159 |
160 | listen-port
161 |
162 | listen-port
163 |
164 |
165 |
166 | ssl-context-service
167 |
168 | org.apache.nifi.ssl.SSLContextService
169 | ssl-context-service
170 |
171 |
172 |
173 | client-authentication
174 |
175 | client-authentication
176 |
177 |
178 |
179 | JettyWebSocketServer
180 |
181 |
182 | input-buffer-size
183 | 4 kb
184 |
185 |
186 | max-text-message-size
187 | 64 kb
188 |
189 |
190 | max-binary-message-size
191 | 64 kb
192 |
193 |
194 | listen-port
195 | 9998
196 |
197 |
198 | ssl-context-service
199 |
200 |
201 | client-authentication
202 | no
203 |
204 |
205 | ENABLED
206 | org.apache.nifi.websocket.jetty.JettyWebSocketServer
207 |
208 |
209 | 0159100d-1d2b-177f-0000-000000000000
210 | b4bc3d5f-015b-1000-0000-000000000000
211 |
212 |
213 |
214 | Maximum Outstanding Requests
215 |
216 | Maximum Outstanding Requests
217 |
218 |
219 |
220 | Request Expiration
221 |
222 | Request Expiration
223 |
224 |
225 |
226 | StandardHttpContextMap
227 |
228 |
229 | Maximum Outstanding Requests
230 | 5000
231 |
232 |
233 | Request Expiration
234 | 1 min
235 |
236 |
237 | ENABLED
238 | org.apache.nifi.http.StandardHttpContextMap
239 |
240 |
241 | b55098cb-015b-1000-0000-000000000000
242 | b4bc3d5f-015b-1000-0000-000000000000
243 |
244 | 441.2282734215398
245 | 424.92781866007
246 |
247 |
248 | WARN
249 |
250 | 1
251 |
252 |
253 | Start Offset
254 |
255 | Start Offset
256 |
257 |
258 |
259 | End Offset
260 |
261 | End Offset
262 |
263 |
264 |
265 | Remove All Content
266 |
267 | Remove All Content
268 |
269 |
270 |
271 | ALL
272 | false
273 | 30 sec
274 |
275 |
276 | Start Offset
277 | 0 B
278 |
279 |
280 | End Offset
281 | 0 B
282 |
283 |
284 | Remove All Content
285 | true
286 |
287 |
288 | 0
289 | 0 sec
290 | TIMER_DRIVEN
291 | 1 sec
292 |
293 | Discard Content
294 |
295 | true
296 | success
297 |
298 |
299 | org.apache.nifi.processors.standard.ModifyBytes
300 |
301 |
302 | 01591005-1d2b-177f-0000-000000000000
303 | b4bc3d5f-015b-1000-0000-000000000000
304 |
305 | 657.798095703125
306 | 0.0
307 |
308 |
309 | WARN
310 |
311 | 1
312 |
313 |
314 | websocket-server-controller-service
315 |
316 | org.apache.nifi.websocket.WebSocketServerService
317 | websocket-server-controller-service
318 |
319 |
320 |
321 | server-url-path
322 |
323 | server-url-path
324 |
325 |
326 |
327 | ALL
328 | false
329 | 30 sec
330 |
331 |
332 | websocket-server-controller-service
333 | b4d6c5fa-015b-1000-0000-000000000000
334 |
335 |
336 | server-url-path
337 | /echo
338 |
339 |
340 | 0
341 | 0 sec
342 | TIMER_DRIVEN
343 | 1 sec
344 |
345 | JettyWebServer-ClientPostsToThisProcessor
346 |
347 | false
348 | binary message
349 |
350 |
351 | false
352 | connected
353 |
354 |
355 | false
356 | text message
357 |
358 |
359 | org.apache.nifi.processors.websocket.ListenWebSocket
360 |
361 |
362 | 01591007-1d2b-177f-0000-000000000000
363 | b4bc3d5f-015b-1000-0000-000000000000
364 |
365 | 749.5687255859375
366 | 587.725830078125
367 |
368 |
369 | WARN
370 |
371 | 1
372 |
373 |
374 | Directory
375 |
376 | Directory
377 |
378 |
379 |
380 | Conflict Resolution Strategy
381 |
382 | Conflict Resolution Strategy
383 |
384 |
385 |
386 | Create Missing Directories
387 |
388 | Create Missing Directories
389 |
390 |
391 |
392 | Maximum File Count
393 |
394 | Maximum File Count
395 |
396 |
397 |
398 | Last Modified Time
399 |
400 | Last Modified Time
401 |
402 |
403 |
404 | Permissions
405 |
406 | Permissions
407 |
408 |
409 |
410 | Owner
411 |
412 | Owner
413 |
414 |
415 |
416 | Group
417 |
418 | Group
419 |
420 |
421 |
422 | ALL
423 | false
424 | 30 sec
425 |
426 |
427 | Directory
428 | /Users/drice/Downloads/Software/nifi-1.1.0.2.1.2.0-10/logs
429 |
430 |
431 | Conflict Resolution Strategy
432 | replace
433 |
434 |
435 | Create Missing Directories
436 | true
437 |
438 |
439 | Maximum File Count
440 |
441 |
442 | Last Modified Time
443 |
444 |
445 | Permissions
446 |
447 |
448 | Owner
449 |
450 |
451 | Group
452 |
453 |
454 | 0
455 | 0 sec
456 | TIMER_DRIVEN
457 | 1 sec
458 |
459 | WriteDataToFileSystem
460 |
461 | true
462 | failure
463 |
464 |
465 | true
466 | success
467 |
468 |
469 | org.apache.nifi.processors.standard.PutFile
470 |
471 |
472 | 0159100b-1d2b-177f-0000-000000000000
473 | b4bc3d5f-015b-1000-0000-000000000000
474 |
475 | 193.798095703125
476 | 0.0
477 |
478 |
479 | WARN
480 |
481 | 1
482 |
483 |
484 | Listening Port
485 |
486 | Listening Port
487 |
488 |
489 |
490 | Hostname
491 |
492 | Hostname
493 |
494 |
495 |
496 | SSL Context Service
497 |
498 | org.apache.nifi.ssl.SSLContextService
499 | SSL Context Service
500 |
501 |
502 |
503 | HTTP Context Map
504 |
505 | org.apache.nifi.http.HttpContextMap
506 | HTTP Context Map
507 |
508 |
509 |
510 | Allowed Paths
511 |
512 | Allowed Paths
513 |
514 |
515 |
516 | Default URL Character Set
517 |
518 | Default URL Character Set
519 |
520 |
521 |
522 | Allow GET
523 |
524 | Allow GET
525 |
526 |
527 |
528 | Allow POST
529 |
530 | Allow POST
531 |
532 |
533 |
534 | Allow PUT
535 |
536 | Allow PUT
537 |
538 |
539 |
540 | Allow DELETE
541 |
542 | Allow DELETE
543 |
544 |
545 |
546 | Allow HEAD
547 |
548 | Allow HEAD
549 |
550 |
551 |
552 | Allow OPTIONS
553 |
554 | Allow OPTIONS
555 |
556 |
557 |
558 | Additional HTTP Methods
559 |
560 | Additional HTTP Methods
561 |
562 |
563 |
564 | Client Authentication
565 |
566 | Client Authentication
567 |
568 |
569 |
570 | container-queue-size
571 |
572 | container-queue-size
573 |
574 |
575 |
576 | ALL
577 | false
578 | 30 sec
579 |
580 |
581 | Listening Port
582 | 6688
583 |
584 |
585 | Hostname
586 | localhost
587 |
588 |
589 | SSL Context Service
590 |
591 |
592 | HTTP Context Map
593 | 0159100d-1d2b-177f-0000-000000000000
594 |
595 |
596 | Allowed Paths
597 |
598 |
599 | Default URL Character Set
600 | UTF-8
601 |
602 |
603 | Allow GET
604 | true
605 |
606 |
607 | Allow POST
608 | true
609 |
610 |
611 | Allow PUT
612 | true
613 |
614 |
615 | Allow DELETE
616 | true
617 |
618 |
619 | Allow HEAD
620 | false
621 |
622 |
623 | Allow OPTIONS
624 | false
625 |
626 |
627 | Additional HTTP Methods
628 |
629 |
630 | Client Authentication
631 | No Authentication
632 |
633 |
634 | container-queue-size
635 | 50
636 |
637 |
638 | 0
639 | 0 sec
640 | TIMER_DRIVEN
641 | 1 sec
642 |
643 | Nifi-WebServer-HandleHTTP
644 |
645 | false
646 | success
647 |
648 |
649 | org.apache.nifi.processors.standard.HandleHttpRequest
650 |
651 |
652 | 0159100c-1d2b-177f-0000-000000000000
653 | b4bc3d5f-015b-1000-0000-000000000000
654 |
655 | 0.0
656 | 583.4281616210938
657 |
658 |
659 | WARN
660 |
661 | 1
662 |
663 |
664 | HTTP Status Code
665 |
666 | HTTP Status Code
667 |
668 |
669 |
670 | HTTP Context Map
671 |
672 | org.apache.nifi.http.HttpContextMap
673 | HTTP Context Map
674 |
675 |
676 |
677 | ALL
678 | false
679 | 30 sec
680 |
681 |
682 | HTTP Status Code
683 | 200
684 |
685 |
686 | HTTP Context Map
687 | 0159100d-1d2b-177f-0000-000000000000
688 |
689 |
690 | 0
691 | 0 sec
692 | TIMER_DRIVEN
693 | 1 sec
694 |
695 | HandleHttpResponse
696 |
697 | true
698 | failure
699 |
700 |
701 | true
702 | success
703 |
704 |
705 | org.apache.nifi.processors.standard.HandleHttpResponse
706 |
707 |
708 | 01591010-1d2b-177f-0000-000000000000
709 | b4bc3d5f-015b-1000-0000-000000000000
710 |
711 | 1067.72265625
712 | 222.0
713 |
714 |
715 | WARN
716 |
717 | 1
718 |
719 |
720 | websocket-session-id
721 |
722 | websocket-session-id
723 |
724 |
725 |
726 | websocket-controller-service-id
727 |
728 | websocket-controller-service-id
729 |
730 |
731 |
732 | websocket-endpoint-id
733 |
734 | websocket-endpoint-id
735 |
736 |
737 |
738 | websocket-message-type
739 |
740 | websocket-message-type
741 |
742 |
743 |
744 | ALL
745 | false
746 | 30 sec
747 |
748 |
749 | websocket-session-id
750 | ${websocket.session.id}
751 |
752 |
753 | websocket-controller-service-id
754 | ${websocket.controller.service.id}
755 |
756 |
757 | websocket-endpoint-id
758 | ${websocket.endpoint.id}
759 |
760 |
761 | websocket-message-type
762 | TEXT
763 |
764 |
765 | 0
766 | 0 sec
767 | TIMER_DRIVEN
768 | 1 sec
769 |
770 | PutWebSocket
771 |
772 | true
773 | failure
774 |
775 |
776 | false
777 | success
778 |
779 |
780 | org.apache.nifi.processors.websocket.PutWebSocket
781 |
782 |
783 | 01591013-1d2b-177f-0000-000000000000
784 | b4bc3d5f-015b-1000-0000-000000000000
785 |
786 | 134.4720458984375
787 | 216.00003051757812
788 |
789 |
790 | WARN
791 |
792 | 1
793 |
794 |
795 | Command Arguments
796 |
797 | Command Arguments
798 |
799 |
800 |
801 | Command Path
802 |
803 | Command Path
804 |
805 |
806 |
807 | Ignore STDIN
808 |
809 | Ignore STDIN
810 |
811 |
812 |
813 | Working Directory
814 |
815 | Working Directory
816 |
817 |
818 |
819 | Argument Delimiter
820 |
821 | Argument Delimiter
822 |
823 |
824 |
825 | Output Destination Attribute
826 |
827 | Output Destination Attribute
828 |
829 |
830 |
831 | Max Attribute Length
832 |
833 | Max Attribute Length
834 |
835 |
836 |
837 | ALL
838 | false
839 | 30 sec
840 |
841 |
842 | Command Arguments
843 |
844 |
845 | Command Path
846 | /Users/drice/Downloads/Software/nifi-1.1.0.2.1.2.0-10/server.sh
847 |
848 |
849 | Ignore STDIN
850 | false
851 |
852 |
853 | Working Directory
854 |
855 |
856 | Argument Delimiter
857 | ;
858 |
859 |
860 | Output Destination Attribute
861 |
862 |
863 | Max Attribute Length
864 | 256
865 |
866 |
867 | 0
868 | 0 sec
869 | TIMER_DRIVEN
870 | 1 sec
871 |
872 | Cat HTML file to run client page
873 |
874 | false
875 | original
876 |
877 |
878 | false
879 | output stream
880 |
881 |
882 | org.apache.nifi.processors.standard.ExecuteStreamCommand
883 |
884 |
885 | 04/28/2017 12:28:30 EDT
886 |
--------------------------------------------------------------------------------