-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcreate azure event hub.txt
62 lines (49 loc) · 1.32 KB
/
create azure event hub.txt
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
1. Create IOT hub on azure
1. Create event hub namespace in resource group
a. by create new service event hub ub reosurce group
b. create event hub inside the eventhub namespace
2. Create Messaging Routing
a. Provide endpoint name and provide namespace, instance and create route as well
========================= Sample Json ==============================================
{
"DeviceId":"iot-device-001",
"DeviceName":"iot-device-001",
"Lat":"26.912434",
"Long":"75.787270",
"CreatedDateTime":"2023-08-18T19:30:00.000+00:00"
}
{
"DeviceId":"iot-device-001",
"DeviceName":"iot-device-001",
"Lat":"25.912434",
"Long":"74.787270",
"CreatedDateTime":"2023-08-18T18:30:01.000+00:00"
}
{
"DeviceId":"iot-device-001",
"DeviceName":"iot-device-001",
"Lat":"28.912434",
"Long":"76.787270",
"CreatedDateTime":"2023-08-18T18:31:00.000+00:00"
}
{
"DeviceId":"iot-device-002",
"DeviceName":"iot-device-002",
"Lat":"29.912434",
"Long":"79.787270",
"CreatedDateTime":"2023-08-18T19:30:00.000+00:00"
}
{
"DeviceId":"iot-device-002",
"DeviceName":"iot-device-002",
"Lat":"30.912434",
"Long":"77.787270",
"CreatedDateTime":"2023-08-18T18:30:01.000+00:00"
}
{
"DeviceId":"iot-device-002",
"DeviceName":"iot-device-002",
"Lat":"31.912434",
"Long":"76.787270",
"CreatedDateTime":"2023-08-18T18:31:00.000+00:00"
}