-
-
Notifications
You must be signed in to change notification settings - Fork 182
/
Copy pathiot-flow.xml
executable file
·3170 lines (3170 loc) · 172 KB
/
iot-flow.xml
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
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<template>
<description>IoT Demo v3</description>
<name>IoT Demo v3</name>
<snippet>
<controllerServices>
<id>ebe0d28b-2eac-4242-9b33-b93e09fe5aa0</id>
<comments></comments>
<descriptors>
<entry>
<key>Listening Port</key>
<value>
<description>the port to listen on for incoming connections</description>
<displayName>Listening Port</displayName>
<dynamic>false</dynamic>
<name>Listening Port</name>
<required>true</required>
<sensitive>false</sensitive>
<supportsEl>false</supportsEl>
</value>
</entry>
<entry>
<key>URL prefix</key>
<value>
<defaultValue>/eventbus/*</defaultValue>
<description>URL context path where clients can connect</description>
<displayName>URL prefix</displayName>
<dynamic>false</dynamic>
<name>URL prefix</name>
<required>false</required>
<sensitive>false</sensitive>
<supportsEl>false</supportsEl>
</value>
</entry>
<entry>
<key>inbound address regex</key>
<value>
<defaultValue>.*</defaultValue>
<description>permitted matches for inbound (client->server) traffic</description>
<displayName>inbound address regex</displayName>
<dynamic>false</dynamic>
<name>inbound address regex</name>
<required>false</required>
<sensitive>false</sensitive>
<supportsEl>false</supportsEl>
</value>
</entry>
<entry>
<key>outbound address regex</key>
<value>
<defaultValue>.*</defaultValue>
<description>permitted matches for outbound (server->client) traffic</description>
<displayName>outbound address regex</displayName>
<dynamic>false</dynamic>
<name>outbound address regex</name>
<required>false</required>
<sensitive>false</sensitive>
<supportsEl>false</supportsEl>
</value>
</entry>
</descriptors>
<name>VertxService</name>
<properties>
<entry>
<key>Listening Port</key>
<value>5555</value>
</entry>
<entry>
<key>URL prefix</key>
<value>/eventbus/*</value>
</entry>
<entry>
<key>inbound address regex</key>
<value>.*</value>
</entry>
<entry>
<key>outbound address regex</key>
<value>.*</value>
</entry>
</properties>
<referencingComponents>
<activeThreadCount>0</activeThreadCount>
<descriptors>
<entry>
<key>outbound address</key>
<value>
<description>address where outbound message will be published</description>
<displayName>outbound address</displayName>
<dynamic>false</dynamic>
<name>outbound address</name>
<required>true</required>
<sensitive>false</sensitive>
<supportsEl>true</supportsEl>
</value>
</entry>
<entry>
<key>FlowFile attributes to receive as message headers (Regex)</key>
<value>
<description>Specifies the Regular Expression that determines the names of FlowFile
attributes that should be passed along as Message Headers
</description>
<displayName>FlowFile attributes to receive as message headers (Regex)</displayName>
<dynamic>false</dynamic>
<name>FlowFile attributes to receive as message headers (Regex)</name>
<required>false</required>
<sensitive>false</sensitive>
<supportsEl>false</supportsEl>
</value>
</entry>
<entry>
<key>Vertx Service</key>
<value>
<allowableValues>
<displayName>VertxService</displayName>
<value>ebe0d28b-2eac-4242-9b33-b93e09fe5aa0</value>
</allowableValues>
<description>The ControllerService that is used to obtain eventBus instance</description>
<displayName>Vertx Service</displayName>
<dynamic>false</dynamic>
<identifiesControllerService>com.crossbusiness.nifi.controllers.VertxServiceInterface
</identifiesControllerService>
<name>Vertx Service</name>
<required>true</required>
<sensitive>false</sensitive>
<supportsEl>false</supportsEl>
</value>
</entry>
</descriptors>
<groupId>672d068f-2fa9-4237-9b69-db5d756f80d0</groupId>
<id>1958619e-4e59-4fc9-b360-9dc8d5ca13c7</id>
<name>Publish IoT data to EB on dynamic topic</name>
<properties>
<entry>
<key>outbound address</key>
<value>iot.in.${sensor}</value>
</entry>
<entry>
<key>FlowFile attributes to receive as message headers (Regex)</key>
<value>sensor</value>
</entry>
<entry>
<key>Vertx Service</key>
<value>ebe0d28b-2eac-4242-9b33-b93e09fe5aa0</value>
</entry>
</properties>
<referenceType>Processor</referenceType>
<state>STOPPED</state>
<type>com.crossbusiness.nifi.processors.PublishEventBus</type>
</referencingComponents>
<referencingComponents>
<activeThreadCount>0</activeThreadCount>
<descriptors>
<entry>
<key>inbound address</key>
<value>
<description>The address where this processor will subscribe to eventBus to receive
messages
</description>
<displayName>inbound address</displayName>
<dynamic>false</dynamic>
<name>inbound address</name>
<required>true</required>
<sensitive>false</sensitive>
<supportsEl>false</supportsEl>
</value>
</entry>
<entry>
<key>Message Headers to receive as Attributes (Regex)</key>
<value>
<description>Specifies the Regular Expression that determines the names of Message Headers
that should be passed along as FlowFile attributes
</description>
<displayName>Message Headers to receive as Attributes (Regex)</displayName>
<dynamic>false</dynamic>
<name>Message Headers to receive as Attributes (Regex)</name>
<required>false</required>
<sensitive>false</sensitive>
<supportsEl>false</supportsEl>
</value>
</entry>
<entry>
<key>Vertx Service</key>
<value>
<allowableValues>
<displayName>VertxService</displayName>
<value>ebe0d28b-2eac-4242-9b33-b93e09fe5aa0</value>
</allowableValues>
<description>The ControllerService that is used to obtain eventBus instance</description>
<displayName>Vertx Service</displayName>
<dynamic>false</dynamic>
<identifiesControllerService>com.crossbusiness.nifi.controllers.VertxServiceInterface
</identifiesControllerService>
<name>Vertx Service</name>
<required>true</required>
<sensitive>false</sensitive>
<supportsEl>false</supportsEl>
</value>
</entry>
</descriptors>
<groupId>672d068f-2fa9-4237-9b69-db5d756f80d0</groupId>
<id>50c2599e-71c3-4a88-a2b6-1b40fe8b3525</id>
<name>Ingest IoT data over WebSocket</name>
<properties>
<entry>
<key>inbound address</key>
<value>iot.in.hr</value>
</entry>
<entry>
<key>Message Headers to receive as Attributes (Regex)</key>
<value>sensor</value>
</entry>
<entry>
<key>Vertx Service</key>
<value>ebe0d28b-2eac-4242-9b33-b93e09fe5aa0</value>
</entry>
</properties>
<referenceType>Processor</referenceType>
<state>STOPPED</state>
<type>com.crossbusiness.nifi.processors.GetEventBus</type>
</referencingComponents>
<referencingComponents>
<activeThreadCount>0</activeThreadCount>
<descriptors>
<entry>
<key>outbound address</key>
<value>
<description>address where outbound message will be published</description>
<displayName>outbound address</displayName>
<dynamic>false</dynamic>
<name>outbound address</name>
<required>true</required>
<sensitive>false</sensitive>
<supportsEl>true</supportsEl>
</value>
</entry>
<entry>
<key>FlowFile attributes to receive as message headers (Regex)</key>
<value>
<description>Specifies the Regular Expression that determines the names of FlowFile
attributes that should be passed along as Message Headers
</description>
<displayName>FlowFile attributes to receive as message headers (Regex)</displayName>
<dynamic>false</dynamic>
<name>FlowFile attributes to receive as message headers (Regex)</name>
<required>false</required>
<sensitive>false</sensitive>
<supportsEl>false</supportsEl>
</value>
</entry>
<entry>
<key>Vertx Service</key>
<value>
<allowableValues>
<displayName>VertxService</displayName>
<value>ebe0d28b-2eac-4242-9b33-b93e09fe5aa0</value>
</allowableValues>
<description>The ControllerService that is used to obtain eventBus instance</description>
<displayName>Vertx Service</displayName>
<dynamic>false</dynamic>
<identifiesControllerService>com.crossbusiness.nifi.controllers.VertxServiceInterface
</identifiesControllerService>
<name>Vertx Service</name>
<required>true</required>
<sensitive>false</sensitive>
<supportsEl>false</supportsEl>
</value>
</entry>
</descriptors>
<groupId>672d068f-2fa9-4237-9b69-db5d756f80d0</groupId>
<id>e724918a-cc5f-450a-a3c9-2be531f6faba</id>
<name>Publish data to EB on user specific Topic</name>
<properties>
<entry>
<key>outbound address</key>
<value>iot.out.${id}.${sensor}</value>
</entry>
<entry>
<key>FlowFile attributes to receive as message headers (Regex)</key>
</entry>
<entry>
<key>Vertx Service</key>
<value>ebe0d28b-2eac-4242-9b33-b93e09fe5aa0</value>
</entry>
</properties>
<referenceType>Processor</referenceType>
<state>STOPPED</state>
<type>com.crossbusiness.nifi.processors.PublishEventBus</type>
</referencingComponents>
<referencingComponents>
<activeThreadCount>0</activeThreadCount>
<descriptors>
<entry>
<key>outbound address</key>
<value>
<description>address where outbound message will be published</description>
<displayName>outbound address</displayName>
<dynamic>false</dynamic>
<name>outbound address</name>
<required>true</required>
<sensitive>false</sensitive>
<supportsEl>true</supportsEl>
</value>
</entry>
<entry>
<key>FlowFile attributes to receive as message headers (Regex)</key>
<value>
<description>Specifies the Regular Expression that determines the names of FlowFile
attributes that should be passed along as Message Headers
</description>
<displayName>FlowFile attributes to receive as message headers (Regex)</displayName>
<dynamic>false</dynamic>
<name>FlowFile attributes to receive as message headers (Regex)</name>
<required>false</required>
<sensitive>false</sensitive>
<supportsEl>false</supportsEl>
</value>
</entry>
<entry>
<key>Vertx Service</key>
<value>
<allowableValues>
<displayName>VertxService</displayName>
<value>ebe0d28b-2eac-4242-9b33-b93e09fe5aa0</value>
</allowableValues>
<description>The ControllerService that is used to obtain eventBus instance</description>
<displayName>Vertx Service</displayName>
<dynamic>false</dynamic>
<identifiesControllerService>com.crossbusiness.nifi.controllers.VertxServiceInterface
</identifiesControllerService>
<name>Vertx Service</name>
<required>true</required>
<sensitive>false</sensitive>
<supportsEl>false</supportsEl>
</value>
</entry>
</descriptors>
<groupId>672d068f-2fa9-4237-9b69-db5d756f80d0</groupId>
<id>48258dc2-b99d-43ef-8967-9cf99a92102c</id>
<name>Send inactive event to EB</name>
<properties>
<entry>
<key>outbound address</key>
<value>iot.out.${id}.activity.inactive</value>
</entry>
<entry>
<key>FlowFile attributes to receive as message headers (Regex)</key>
</entry>
<entry>
<key>Vertx Service</key>
<value>ebe0d28b-2eac-4242-9b33-b93e09fe5aa0</value>
</entry>
</properties>
<referenceType>Processor</referenceType>
<state>STOPPED</state>
<type>com.crossbusiness.nifi.processors.SendEventBus</type>
</referencingComponents>
<referencingComponents>
<activeThreadCount>0</activeThreadCount>
<descriptors>
<entry>
<key>outbound address</key>
<value>
<description>address where outbound message will be published</description>
<displayName>outbound address</displayName>
<dynamic>false</dynamic>
<name>outbound address</name>
<required>true</required>
<sensitive>false</sensitive>
<supportsEl>true</supportsEl>
</value>
</entry>
<entry>
<key>FlowFile attributes to receive as message headers (Regex)</key>
<value>
<description>Specifies the Regular Expression that determines the names of FlowFile
attributes that should be passed along as Message Headers
</description>
<displayName>FlowFile attributes to receive as message headers (Regex)</displayName>
<dynamic>false</dynamic>
<name>FlowFile attributes to receive as message headers (Regex)</name>
<required>false</required>
<sensitive>false</sensitive>
<supportsEl>false</supportsEl>
</value>
</entry>
<entry>
<key>Vertx Service</key>
<value>
<allowableValues>
<displayName>VertxService</displayName>
<value>ebe0d28b-2eac-4242-9b33-b93e09fe5aa0</value>
</allowableValues>
<description>The ControllerService that is used to obtain eventBus instance</description>
<displayName>Vertx Service</displayName>
<dynamic>false</dynamic>
<identifiesControllerService>com.crossbusiness.nifi.controllers.VertxServiceInterface
</identifiesControllerService>
<name>Vertx Service</name>
<required>true</required>
<sensitive>false</sensitive>
<supportsEl>false</supportsEl>
</value>
</entry>
</descriptors>
<groupId>672d068f-2fa9-4237-9b69-db5d756f80d0</groupId>
<id>f283f62a-4a16-4173-8edd-f2c07c112bd6</id>
<name>Send activity restored event to EB</name>
<properties>
<entry>
<key>outbound address</key>
<value>iot.out.${id}.activity.restored</value>
</entry>
<entry>
<key>FlowFile attributes to receive as message headers (Regex)</key>
</entry>
<entry>
<key>Vertx Service</key>
<value>ebe0d28b-2eac-4242-9b33-b93e09fe5aa0</value>
</entry>
</properties>
<referenceType>Processor</referenceType>
<state>STOPPED</state>
<type>com.crossbusiness.nifi.processors.SendEventBus</type>
</referencingComponents>
<state>ENABLED</state>
<type>com.crossbusiness.nifi.controllers.VertxService</type>
</controllerServices>
<processGroups>
<id>672d068f-2fa9-4237-9b69-db5d756f80d0</id>
<parentGroupId>640d51ac-6f4d-4a43-87fc-cd2c9510ca65</parentGroupId>
<position>
<x>-467.70624513740347</x>
<y>-36.782313856967676</y>
</position>
<activeRemotePortCount>0</activeRemotePortCount>
<comments></comments>
<contents>
<connections>
<id>c54fc2bd-26ed-4ba6-a5e9-9cee565c5abb</id>
<parentGroupId>672d068f-2fa9-4237-9b69-db5d756f80d0</parentGroupId>
<backPressureDataSizeThreshold>0 MB</backPressureDataSizeThreshold>
<backPressureObjectThreshold>0</backPressureObjectThreshold>
<destination>
<groupId>672d068f-2fa9-4237-9b69-db5d756f80d0</groupId>
<id>e8f2fefb-9d92-468c-9525-51db10da908b</id>
<type>FUNNEL</type>
</destination>
<flowFileExpiration>0 sec</flowFileExpiration>
<labelIndex>1</labelIndex>
<name></name>
<selectedRelationships>matched</selectedRelationships>
<selectedRelationships>unmatched</selectedRelationships>
<source>
<groupId>672d068f-2fa9-4237-9b69-db5d756f80d0</groupId>
<id>f527c043-bff3-409d-9611-965d45d20622</id>
<type>PROCESSOR</type>
</source>
<zIndex>0</zIndex>
</connections>
<connections>
<id>bbc0e277-047c-498a-8bd2-f91bb6f1b95b</id>
<parentGroupId>672d068f-2fa9-4237-9b69-db5d756f80d0</parentGroupId>
<backPressureDataSizeThreshold>0 MB</backPressureDataSizeThreshold>
<backPressureObjectThreshold>0</backPressureObjectThreshold>
<destination>
<groupId>672d068f-2fa9-4237-9b69-db5d756f80d0</groupId>
<id>f9516f79-8c2a-4237-9b0c-1e03a84036ec</id>
<type>PROCESSOR</type>
</destination>
<flowFileExpiration>0 sec</flowFileExpiration>
<labelIndex>1</labelIndex>
<name></name>
<source>
<groupId>672d068f-2fa9-4237-9b69-db5d756f80d0</groupId>
<id>e8f2fefb-9d92-468c-9525-51db10da908b</id>
<type>FUNNEL</type>
</source>
<zIndex>0</zIndex>
</connections>
<connections>
<id>4c201d61-e0ab-4c45-8c91-02be63df6d9d</id>
<parentGroupId>672d068f-2fa9-4237-9b69-db5d756f80d0</parentGroupId>
<backPressureDataSizeThreshold>0 MB</backPressureDataSizeThreshold>
<backPressureObjectThreshold>0</backPressureObjectThreshold>
<destination>
<groupId>672d068f-2fa9-4237-9b69-db5d756f80d0</groupId>
<id>8b01f9bc-8201-4cc1-8c56-8328756f3151</id>
<type>PROCESSOR</type>
</destination>
<flowFileExpiration>0 sec</flowFileExpiration>
<labelIndex>1</labelIndex>
<name></name>
<selectedRelationships>danger</selectedRelationships>
<source>
<groupId>672d068f-2fa9-4237-9b69-db5d756f80d0</groupId>
<id>67886505-3d48-4f54-a82d-297330d8d3b8</id>
<type>PROCESSOR</type>
</source>
<zIndex>0</zIndex>
</connections>
<connections>
<id>5c2a34b2-3cb9-4886-a138-dc93cb631709</id>
<parentGroupId>672d068f-2fa9-4237-9b69-db5d756f80d0</parentGroupId>
<backPressureDataSizeThreshold>0 MB</backPressureDataSizeThreshold>
<backPressureObjectThreshold>0</backPressureObjectThreshold>
<bends>
<x>487.86169952528826</x>
<y>33.41496367656896</y>
</bends>
<bends>
<x>692.918767396382</x>
<y>36.06942458355138</y>
</bends>
<bends>
<x>692.5673269666945</x>
<y>-78.2802534559994</y>
</bends>
<destination>
<groupId>672d068f-2fa9-4237-9b69-db5d756f80d0</groupId>
<id>f527c043-bff3-409d-9611-965d45d20622</id>
<type>PROCESSOR</type>
</destination>
<flowFileExpiration>0 sec</flowFileExpiration>
<labelIndex>1</labelIndex>
<name></name>
<selectedRelationships>success</selectedRelationships>
<source>
<groupId>672d068f-2fa9-4237-9b69-db5d756f80d0</groupId>
<id>50c2599e-71c3-4a88-a2b6-1b40fe8b3525</id>
<type>PROCESSOR</type>
</source>
<zIndex>0</zIndex>
</connections>
<connections>
<id>e6c72c5b-bd0a-452e-9103-6ffc98874709</id>
<parentGroupId>672d068f-2fa9-4237-9b69-db5d756f80d0</parentGroupId>
<backPressureDataSizeThreshold>0 MB</backPressureDataSizeThreshold>
<backPressureObjectThreshold>0</backPressureObjectThreshold>
<bends>
<x>1162.6024169921875</x>
<y>40.62712860107422</y>
</bends>
<bends>
<x>1162.6024169921875</x>
<y>-76.97286987304688</y>
</bends>
<destination>
<groupId>672d068f-2fa9-4237-9b69-db5d756f80d0</groupId>
<id>e724918a-cc5f-450a-a3c9-2be531f6faba</id>
<type>PROCESSOR</type>
</destination>
<flowFileExpiration>0 sec</flowFileExpiration>
<labelIndex>0</labelIndex>
<name></name>
<source>
<groupId>672d068f-2fa9-4237-9b69-db5d756f80d0</groupId>
<id>e8f2fefb-9d92-468c-9525-51db10da908b</id>
<type>FUNNEL</type>
</source>
<zIndex>0</zIndex>
</connections>
<connections>
<id>cc5e4e4c-1485-42fb-bfd0-4ec16745579f</id>
<parentGroupId>672d068f-2fa9-4237-9b69-db5d756f80d0</parentGroupId>
<backPressureDataSizeThreshold>0 MB</backPressureDataSizeThreshold>
<backPressureObjectThreshold>0</backPressureObjectThreshold>
<destination>
<groupId>672d068f-2fa9-4237-9b69-db5d756f80d0</groupId>
<id>2d542c23-8112-4b97-9f92-ddc0fee40f5c</id>
<type>PROCESSOR</type>
</destination>
<flowFileExpiration>0 sec</flowFileExpiration>
<labelIndex>1</labelIndex>
<name></name>
<source>
<groupId>672d068f-2fa9-4237-9b69-db5d756f80d0</groupId>
<id>e8f2fefb-9d92-468c-9525-51db10da908b</id>
<type>FUNNEL</type>
</source>
<zIndex>0</zIndex>
</connections>
<connections>
<id>e5fb3732-0ca3-4f23-b349-b8310ba5ddf6</id>
<parentGroupId>672d068f-2fa9-4237-9b69-db5d756f80d0</parentGroupId>
<backPressureDataSizeThreshold>0 MB</backPressureDataSizeThreshold>
<backPressureObjectThreshold>0</backPressureObjectThreshold>
<destination>
<groupId>672d068f-2fa9-4237-9b69-db5d756f80d0</groupId>
<id>1958619e-4e59-4fc9-b360-9dc8d5ca13c7</id>
<type>PROCESSOR</type>
</destination>
<flowFileExpiration>0 sec</flowFileExpiration>
<labelIndex>1</labelIndex>
<name></name>
<selectedRelationships>success</selectedRelationships>
<source>
<groupId>672d068f-2fa9-4237-9b69-db5d756f80d0</groupId>
<id>5f54c1ff-7355-492c-bccf-3bdffb760b9f</id>
<type>PROCESSOR</type>
</source>
<zIndex>0</zIndex>
</connections>
<connections>
<id>50c9d72e-3699-4fd0-a4c8-f300779a2884</id>
<parentGroupId>672d068f-2fa9-4237-9b69-db5d756f80d0</parentGroupId>
<backPressureDataSizeThreshold>0 MB</backPressureDataSizeThreshold>
<backPressureObjectThreshold>0</backPressureObjectThreshold>
<bends>
<x>488.93079132216326</x>
<y>135.18427748882482</y>
</bends>
<destination>
<groupId>672d068f-2fa9-4237-9b69-db5d756f80d0</groupId>
<id>67886505-3d48-4f54-a82d-297330d8d3b8</id>
<type>PROCESSOR</type>
</destination>
<flowFileExpiration>0 sec</flowFileExpiration>
<labelIndex>1</labelIndex>
<name></name>
<source>
<groupId>672d068f-2fa9-4237-9b69-db5d756f80d0</groupId>
<id>e8f2fefb-9d92-468c-9525-51db10da908b</id>
<type>FUNNEL</type>
</source>
<zIndex>0</zIndex>
</connections>
<connections>
<id>0349f295-42e6-40fd-94b5-ae061ad9cf4a</id>
<parentGroupId>672d068f-2fa9-4237-9b69-db5d756f80d0</parentGroupId>
<backPressureDataSizeThreshold>0 MB</backPressureDataSizeThreshold>
<backPressureObjectThreshold>0</backPressureObjectThreshold>
<bends>
<x>1386.1510061659133</x>
<y>342.3898438950748</y>
</bends>
<destination>
<groupId>672d068f-2fa9-4237-9b69-db5d756f80d0</groupId>
<id>f283f62a-4a16-4173-8edd-f2c07c112bd6</id>
<type>PROCESSOR</type>
</destination>
<flowFileExpiration>0 sec</flowFileExpiration>
<labelIndex>1</labelIndex>
<name></name>
<selectedRelationships>activity.restored</selectedRelationships>
<source>
<groupId>672d068f-2fa9-4237-9b69-db5d756f80d0</groupId>
<id>2d542c23-8112-4b97-9f92-ddc0fee40f5c</id>
<type>PROCESSOR</type>
</source>
<zIndex>0</zIndex>
</connections>
<connections>
<id>d3f4d9e2-d6cf-4ede-9a2c-609ba7e1709b</id>
<parentGroupId>672d068f-2fa9-4237-9b69-db5d756f80d0</parentGroupId>
<backPressureDataSizeThreshold>0 MB</backPressureDataSizeThreshold>
<backPressureObjectThreshold>0</backPressureObjectThreshold>
<destination>
<groupId>672d068f-2fa9-4237-9b69-db5d756f80d0</groupId>
<id>48258dc2-b99d-43ef-8967-9cf99a92102c</id>
<type>PROCESSOR</type>
</destination>
<flowFileExpiration>0 sec</flowFileExpiration>
<labelIndex>1</labelIndex>
<name></name>
<selectedRelationships>inactive</selectedRelationships>
<source>
<groupId>672d068f-2fa9-4237-9b69-db5d756f80d0</groupId>
<id>2d542c23-8112-4b97-9f92-ddc0fee40f5c</id>
<type>PROCESSOR</type>
</source>
<zIndex>0</zIndex>
</connections>
<connections>
<id>81fed324-1229-43ba-a5ce-80fc0b072911</id>
<parentGroupId>672d068f-2fa9-4237-9b69-db5d756f80d0</parentGroupId>
<backPressureDataSizeThreshold>0 MB</backPressureDataSizeThreshold>
<backPressureObjectThreshold>0</backPressureObjectThreshold>
<bends>
<x>63.4552893080031</x>
<y>341.38401503765294</y>
</bends>
<destination>
<groupId>672d068f-2fa9-4237-9b69-db5d756f80d0</groupId>
<id>acb034cd-6a26-4c7f-b822-ba798995fb57</id>
<type>PROCESSOR</type>
</destination>
<flowFileExpiration>0 sec</flowFileExpiration>
<labelIndex>1</labelIndex>
<name></name>
<selectedRelationships>warning</selectedRelationships>
<source>
<groupId>672d068f-2fa9-4237-9b69-db5d756f80d0</groupId>
<id>67886505-3d48-4f54-a82d-297330d8d3b8</id>
<type>PROCESSOR</type>
</source>
<zIndex>0</zIndex>
</connections>
<funnels>
<id>e8f2fefb-9d92-468c-9525-51db10da908b</id>
<parentGroupId>672d068f-2fa9-4237-9b69-db5d756f80d0</parentGroupId>
<position>
<x>879.2324270643508</x>
<y>104.16154952251622</y>
</position>
</funnels>
<processors>
<id>2d542c23-8112-4b97-9f92-ddc0fee40f5c</id>
<parentGroupId>672d068f-2fa9-4237-9b69-db5d756f80d0</parentGroupId>
<position>
<x>755.9556936659133</x>
<y>292.41910262310216</y>
</position>
<config>
<bulletinLevel>WARN</bulletinLevel>
<comments></comments>
<concurrentlySchedulableTaskCount>1</concurrentlySchedulableTaskCount>
<defaultConcurrentTasks>
<entry>
<key>TIMER_DRIVEN</key>
<value>1</value>
</entry>
<entry>
<key>EVENT_DRIVEN</key>
<value>0</value>
</entry>
<entry>
<key>CRON_DRIVEN</key>
<value>1</value>
</entry>
</defaultConcurrentTasks>
<defaultSchedulingPeriod>
<entry>
<key>TIMER_DRIVEN</key>
<value>0 sec</value>
</entry>
<entry>
<key>CRON_DRIVEN</key>
<value>* * * * * ?</value>
</entry>
</defaultSchedulingPeriod>
<descriptors>
<entry>
<key>Threshold Duration</key>
<value>
<defaultValue>5 min</defaultValue>
<description>Determines how much time must elapse before considering the flow to be
inactive
</description>
<displayName>Threshold Duration</displayName>
<dynamic>false</dynamic>
<name>Threshold Duration</name>
<required>true</required>
<sensitive>false</sensitive>
<supportsEl>false</supportsEl>
</value>
</entry>
<entry>
<key>Continually Send Messages</key>
<value>
<allowableValues>
<displayName>true</displayName>
<value>true</value>
</allowableValues>
<allowableValues>
<displayName>false</displayName>
<value>false</value>
</allowableValues>
<defaultValue>false</defaultValue>
<description>If true, will send inactivity indicator continually every Threshold
Duration amount of time until activity is restored; if false, will send an
indicator only when the flow first becomes inactive
</description>
<displayName>Continually Send Messages</displayName>
<dynamic>false</dynamic>
<name>Continually Send Messages</name>
<required>true</required>
<sensitive>false</sensitive>
<supportsEl>false</supportsEl>
</value>
</entry>
<entry>
<key>Inactivity Message</key>
<value>
<defaultValue>Lacking activity as of time: ${now():format('yyyy/MM/dd HH:mm:ss')};
flow has been inactive for ${inactivityDurationMillis:toNumber():divide(60000)}
minutes
</defaultValue>
<description>The message that will be the content of FlowFiles that are sent to the
'inactive' relationship
</description>
<displayName>Inactivity Message</displayName>
<dynamic>false</dynamic>
<name>Inactivity Message</name>
<required>true</required>
<sensitive>false</sensitive>
<supportsEl>true</supportsEl>
</value>
</entry>
<entry>
<key>Activity Restored Message</key>
<value>
<defaultValue>Activity restored at time: ${now():format('yyyy/MM/dd HH:mm:ss')}
after being inactive for ${inactivityDurationMillis:toNumber():divide(60000)}
minutes
</defaultValue>
<description>The message that will be the content of FlowFiles that are sent to
'activity.restored' relationship
</description>
<displayName>Activity Restored Message</displayName>
<dynamic>false</dynamic>
<name>Activity Restored Message</name>
<required>true</required>
<sensitive>false</sensitive>
<supportsEl>true</supportsEl>
</value>
</entry>
<entry>
<key>Copy Attributes</key>
<value>
<allowableValues>
<displayName>true</displayName>
<value>true</value>
</allowableValues>
<allowableValues>
<displayName>false</displayName>
<value>false</value>
</allowableValues>
<defaultValue>false</defaultValue>
<description>If true, will copy all flow file attributes from the flow file that
resumed activity to the newly created indicator flow file
</description>
<displayName>Copy Attributes</displayName>
<dynamic>false</dynamic>
<name>Copy Attributes</name>
<required>false</required>
<sensitive>false</sensitive>
<supportsEl>false</supportsEl>
</value>
</entry>
</descriptors>
<lossTolerant>false</lossTolerant>
<penaltyDuration>30 sec</penaltyDuration>
<properties>
<entry>
<key>Threshold Duration</key>
<value>5 sec</value>
</entry>
<entry>
<key>Continually Send Messages</key>
<value>true</value>
</entry>
<entry>
<key>Inactivity Message</key>
<value>Lacking activity as of time: ${now():format('yyyy/MM/dd HH:mm:ss')}; flow has
been
inactive for ${inactivityDurationMillis:toNumber():divide(60000)} minutes
</value>
</entry>
<entry>
<key>Activity Restored Message</key>
<value>Activity restored at time: ${now():format('yyyy/MM/dd HH:mm:ss')} after being
inactive
for ${inactivityDurationMillis:toNumber():divide(60000)} minutes
</value>
</entry>
<entry>
<key>Copy Attributes</key>
<value>false</value>
</entry>
</properties>
<runDurationMillis>0</runDurationMillis>
<schedulingPeriod>0 sec</schedulingPeriod>
<schedulingStrategy>TIMER_DRIVEN</schedulingStrategy>
<yieldDuration>1 sec</yieldDuration>
</config>
<name>MonitorActivity</name>
<relationships>
<autoTerminate>false</autoTerminate>
<description>This relationship is used to transfer an Activity Restored indicator when FlowFiles
are routing to 'success' following a period of inactivity
</description>
<name>activity.restored</name>
</relationships>
<relationships>
<autoTerminate>false</autoTerminate>
<description>This relationship is used to transfer an Inactivity indicator when no FlowFiles are
routed to 'success' for Threshold Duration amount of time
</description>
<name>inactive</name>
</relationships>
<relationships>
<autoTerminate>true</autoTerminate>
<description>All incoming FlowFiles are routed to success</description>
<name>success</name>
</relationships>
<state>STOPPED</state>
<style/>
<supportsEventDriven>false</supportsEventDriven>
<supportsParallelProcessing>false</supportsParallelProcessing>
<type>org.apache.nifi.processors.standard.MonitorActivity</type>
</processors>
<processors>
<id>1958619e-4e59-4fc9-b360-9dc8d5ca13c7</id>
<parentGroupId>672d068f-2fa9-4237-9b69-db5d756f80d0</parentGroupId>
<position>
<x>-92.99749933318765</x>
<y>81.42713006348026</y>
</position>
<config>
<bulletinLevel>WARN</bulletinLevel>
<comments></comments>
<concurrentlySchedulableTaskCount>1</concurrentlySchedulableTaskCount>
<defaultConcurrentTasks>
<entry>
<key>TIMER_DRIVEN</key>
<value>1</value>
</entry>
<entry>
<key>EVENT_DRIVEN</key>
<value>0</value>
</entry>
<entry>
<key>CRON_DRIVEN</key>
<value>1</value>
</entry>
</defaultConcurrentTasks>
<defaultSchedulingPeriod>
<entry>
<key>TIMER_DRIVEN</key>
<value>0 sec</value>
</entry>
<entry>
<key>CRON_DRIVEN</key>
<value>* * * * * ?</value>
</entry>
</defaultSchedulingPeriod>
<descriptors>
<entry>
<key>outbound address</key>
<value>
<description>address where outbound message will be published</description>
<displayName>outbound address</displayName>
<dynamic>false</dynamic>
<name>outbound address</name>
<required>true</required>
<sensitive>false</sensitive>
<supportsEl>true</supportsEl>
</value>
</entry>
<entry>
<key>FlowFile attributes to receive as message headers (Regex)</key>
<value>
<description>Specifies the Regular Expression that determines the names of FlowFile
attributes that should be passed along as Message Headers
</description>
<displayName>FlowFile attributes to receive as message headers (Regex)</displayName>
<dynamic>false</dynamic>
<name>FlowFile attributes to receive as message headers (Regex)</name>
<required>false</required>
<sensitive>false</sensitive>
<supportsEl>false</supportsEl>
</value>
</entry>
<entry>
<key>Vertx Service</key>
<value>
<allowableValues>
<displayName>VertxService</displayName>
<value>ebe0d28b-2eac-4242-9b33-b93e09fe5aa0</value>
</allowableValues>
<description>The ControllerService that is used to obtain eventBus instance
</description>
<displayName>Vertx Service</displayName>
<dynamic>false</dynamic>
<identifiesControllerService>
com.crossbusiness.nifi.controllers.VertxServiceInterface
</identifiesControllerService>
<name>Vertx Service</name>
<required>true</required>
<sensitive>false</sensitive>
<supportsEl>false</supportsEl>
</value>
</entry>
</descriptors>
<lossTolerant>false</lossTolerant>
<penaltyDuration>30 sec</penaltyDuration>
<properties>
<entry>
<key>outbound address</key>
<value>iot.in.${sensor}</value>
</entry>
<entry>
<key>FlowFile attributes to receive as message headers (Regex)</key>
<value>sensor</value>
</entry>
<entry>
<key>Vertx Service</key>
<value>ebe0d28b-2eac-4242-9b33-b93e09fe5aa0</value>
</entry>
</properties>