-
Notifications
You must be signed in to change notification settings - Fork 4
/
appsettings.json
53 lines (53 loc) · 1.41 KB
/
appsettings.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
53
{
"Settings": {
"APPINSIGHTS_INSTRUMENTATIONKEY": "",
"MqttURL": "IP or url here",
"MqttClientId": "some unique id",
"Kusto": {
"ClientId": "service principal client id",
"ClientSecret": "service principal client secret",
"TenantId": "azure ad tenant",
"ClusterName": "<clustername>.<azureRegion>",
"DbName": "kusto database name",
"MaxRetries": 10,
"MsBetweenRetries": 60000
},
"Subscriptions": [
{
"MqttTopic": "sensor",
"KustoTable": "raw",
"MappingName": "map",
"BatchLimitInMinutes": 5,
"BatchLimitNumberOfEvents": "1000"
},
{
"MqttTopic": "steckdose",
"KustoTable": "steckdose",
"MappingName": "map",
"BatchLimitInMinutes": 10,
"BatchLimitNumberOfEvents": "1000"
},
{
"MqttTopic": "forecast",
"KustoTable": "forecast",
"MappingName": "map",
"BatchLimitInMinutes": 10,
"BatchLimitNumberOfEvents": "1000"
},
{
"MqttTopic": "pvsensor",
"KustoTable": "pvsensor",
"MappingName": "map",
"BatchLimitInMinutes": 10,
"BatchLimitNumberOfEvents": "1000"
},
{
"MqttTopic": "homematicsensor",
"KustoTable": "homematicsensor",
"MappingName": "map",
"BatchLimitInMinutes": 10,
"BatchLimitNumberOfEvents": "1000"
}
]
}
}