-
Notifications
You must be signed in to change notification settings - Fork 93
/
mqtt_config.json
52 lines (52 loc) · 1.78 KB
/
mqtt_config.json
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
{
"rootGroup": {
"name": "MiNiFi Flow",
"processors": [
{
"name": "Get files from /tmp/input",
"identifier": "1dbeda1d-1c89-4f33-a8fa-4c3b76abaed1",
"type": "org.apache.nifi.processors.standard.GetFile",
"schedulingStrategy": "TIMER_DRIVEN",
"schedulingPeriod": "2 sec",
"properties": {
"Input Directory": "/tmp/input"
},
"autoTerminatedRelationships": []
},
{
"name": "Publish data to MQTT broker",
"identifier": "6ecff0a9-9d1b-45c6-99b7-3e4db40e0cd1",
"type": "org.apache.nifi.processors.standard.PublishMQTT",
"schedulingStrategy": "EVENT_DRIVEN",
"properties": {
"Broker URI": "127.0.0.1:1883",
"Topic": "testtopic",
"Client ID": "publisher-client",
"MQTT Version": "3.x AUTO"
},
"autoTerminatedRelationships": [
"failure",
"success"
]
}
],
"funnels": [],
"connections": [
{
"identifier": "3783d336-1d81-452b-9d34-8be77bc8fce5",
"name": "GetFile/success/PublishMQTT",
"source": {
"id": "1dbeda1d-1c89-4f33-a8fa-4c3b76abaed1"
},
"destination": {
"id": "6ecff0a9-9d1b-45c6-99b7-3e4db40e0cd1"
},
"selectedRelationships": [
"success"
]
}
],
"remoteProcessGroups": [],
"controllerServices": []
}
}