-
Notifications
You must be signed in to change notification settings - Fork 30
/
sensor.avsc
100 lines (100 loc) · 1.82 KB
/
sensor.avsc
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
{
"type": "record",
"name": "SensorReading",
"namespace": "com.cloudera.example",
"doc": "This is a sample sensor reading",
"fields": [
{
"name": "sensor_id",
"doc": "Sensor identification number.",
"type": "int"
},
{
"name": "sensor_ts",
"doc": "Timestamp, in microseconds, of the collected readings.",
"type": "long"
},
{
"name": "is_healthy",
"doc": "Flag indicating health (healthy == 1)",
"type": "int"
},
{
"name": "response",
"doc": "response record",
"type": {
"type": "record",
"name": "CDSWResponse",
"namespace": "com.cloudera.example",
"doc": "This is a CDSW Model response",
"fields": [
{
"name": "result",
"doc": "Result",
"type": "int"
}
]
}
},
{
"name": "sensor_0",
"doc": "Reading #0.",
"type": "int"
},
{
"name": "sensor_1",
"doc": "Reading #1.",
"type": "int"
},
{
"name": "sensor_2",
"doc": "Reading #2.",
"type": "int"
},
{
"name": "sensor_3",
"doc": "Reading #3.",
"type": "int"
},
{
"name": "sensor_4",
"doc": "Reading #4.",
"type": "int"
},
{
"name": "sensor_5",
"doc": "Reading #5.",
"type": "int"
},
{
"name": "sensor_6",
"doc": "Reading #6.",
"type": "int"
},
{
"name": "sensor_7",
"doc": "Reading #7.",
"type": "int"
},
{
"name": "sensor_8",
"doc": "Reading #8.",
"type": "int"
},
{
"name": "sensor_9",
"doc": "Reading #9.",
"type": "int"
},
{
"name": "sensor_10",
"doc": "Reading #10.",
"type": "int"
},
{
"name": "sensor_11",
"doc": "Reading #11.",
"type": "int"
}
]
}