forked from asdaraujo/edge2ai-workshop
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Run_Python_Simulator_NiFi.xml
122 lines (122 loc) · 4.68 KB
/
Run_Python_Simulator_NiFi.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
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<template encoding-version="1.2">
<description></description>
<groupId>8ceeba07-016d-1000-0000-000020d4fdb1</groupId>
<name>Run Python Simulator NiFi</name>
<snippet>
<labels>
<id>52f8e43b-0e9a-3df9-0000-000000000000</id>
<parentGroupId>3790f4bc-b7c1-3c67-0000-000000000000</parentGroupId>
<position>
<x>0.0</x>
<y>0.0</y>
</position>
<height>65.17413711547852</height>
<label>Option 2 Python Script Creates and Sends</label>
<style>
<entry>
<key>font-size</key>
<value>24px</value>
</entry>
</style>
<width>468.0970001220703</width>
</labels>
<processors>
<id>77b049bc-a9f4-3117-0000-000000000000</id>
<parentGroupId>3790f4bc-b7c1-3c67-0000-000000000000</parentGroupId>
<position>
<x>67.41286083234502</x>
<y>152.23882344349704</y>
</position>
<bundle>
<artifact>nifi-standard-nar</artifact>
<group>org.apache.nifi</group>
<version>1.9.0.1.0.1.0-12</version>
</bundle>
<config>
<bulletinLevel>WARN</bulletinLevel>
<comments></comments>
<concurrentlySchedulableTaskCount>1</concurrentlySchedulableTaskCount>
<descriptors>
<entry>
<key>Command</key>
<value>
<name>Command</name>
</value>
</entry>
<entry>
<key>Command Arguments</key>
<value>
<name>Command Arguments</name>
</value>
</entry>
<entry>
<key>Batch Duration</key>
<value>
<name>Batch Duration</name>
</value>
</entry>
<entry>
<key>Redirect Error Stream</key>
<value>
<name>Redirect Error Stream</name>
</value>
</entry>
<entry>
<key>Working Directory</key>
<value>
<name>Working Directory</name>
</value>
</entry>
<entry>
<key>Argument Delimiter</key>
<value>
<name>Argument Delimiter</name>
</value>
</entry>
</descriptors>
<executionNode>ALL</executionNode>
<lossTolerant>false</lossTolerant>
<penaltyDuration>30 sec</penaltyDuration>
<properties>
<entry>
<key>Command</key>
<value>python</value>
</entry>
<entry>
<key>Command Arguments</key>
<value>/opt/demo/simulate.py</value>
</entry>
<entry>
<key>Batch Duration</key>
</entry>
<entry>
<key>Redirect Error Stream</key>
<value>false</value>
</entry>
<entry>
<key>Working Directory</key>
</entry>
<entry>
<key>Argument Delimiter</key>
<value> </value>
</entry>
</properties>
<runDurationMillis>0</runDurationMillis>
<schedulingPeriod>1 sec</schedulingPeriod>
<schedulingStrategy>TIMER_DRIVEN</schedulingStrategy>
<yieldDuration>1 sec</yieldDuration>
</config>
<executionNodeRestricted>false</executionNodeRestricted>
<name>Generate Test Data</name>
<relationships>
<autoTerminate>true</autoTerminate>
<name>success</name>
</relationships>
<state>STOPPED</state>
<style/>
<type>org.apache.nifi.processors.standard.ExecuteProcess</type>
</processors>
</snippet>
<timestamp>10/18/2019 17:02:24 UTC</timestamp>
</template>