Mercurial > code > home > repos > light9
comparison avro/CollectorUpdate.avsc @ 2395:ef3cde3e81e8
switch collector output from json to avro (still over WS)
author | drewp@bigasterisk.com |
---|---|
date | Thu, 16 May 2024 15:03:50 -0700 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
2394:7578f855d18b | 2395:ef3cde3e81e8 |
---|---|
1 { | |
2 "namespace": "light9", | |
3 "type": "record", | |
4 "name": "CollectorUpdate", | |
5 "fields": [ | |
6 { | |
7 "name": "OutputAttrsSet", | |
8 "type": { | |
9 "type": "record", | |
10 "name": "_OutputAttrsSetValue", | |
11 "fields": [ | |
12 { "name": "dev", "type": "string" }, | |
13 { | |
14 "name": "attrs", | |
15 "type": { | |
16 "type": "array", | |
17 "items": { | |
18 "type": "record", | |
19 "name": "Attribute", | |
20 "fields": [ | |
21 { "name": "attr", "type": "string" }, | |
22 { "name": "val", "type": "int" }, | |
23 { "name": "chan", "type": "string" } | |
24 ] | |
25 } | |
26 } | |
27 } | |
28 ] | |
29 } | |
30 } | |
31 ] | |
32 } |