-
Notifications
You must be signed in to change notification settings - Fork 33
/
Copy path0013-ep-data-samples-event.avsc
48 lines (48 loc) · 1.57 KB
/
0013-ep-data-samples-event.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
{
"namespace":"org.kaaproject.ipc.dstp.gen.v1",
"name":"DataSamplesEvent",
"type":"record",
"doc": "Broadcast event with endpoint data samples to data receivers",
"fields":[
{
"name":"correlationId",
"type":"string",
"doc":"Message ID primarily used to track message processing across services"
},
{
"name":"timestamp",
"type":"long",
"doc":"Message creation UNIX timestamp in milliseconds"
},
{
"name":"timeout",
"type":"long",
"default":0,
"doc":"Amount of milliseconds since the timestamp until the message expires. Value of 0 is reserved to indicate no expiration."
},
{
"name":"appVersionName",
"type":"string",
"doc":"Application version name the data samples are sent for"
},
{
"name":"endpointId",
"type":"string",
"doc":"Identifier of the endpoint that originated the data samples. Null for endpoint-unaware extensions."
},
{
"name":"contentType",
"type":"string",
"default":"application/json",
"doc":"Type of the data samples payload, e.g.: application/json, application/x-protobuf, etc."
},
{
"name":"dataSamples",
"type":{
"type":"array",
"items":"bytes"
},
"doc":"Array of endpoint data samples encoded according to the content type"
}
]
}