-
Notifications
You must be signed in to change notification settings - Fork 33
/
Copy path0006-config-updated.avsc
59 lines (59 loc) · 1.9 KB
/
0006-config-updated.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
{
"namespace":"org.kaaproject.ipc.event.gen.v1.endpoint.config",
"type":"record",
"name":"ConfigUpdated",
"doc":"Broadcast message to indicate that endpoint configuration data got updated in the configuration provider service",
"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, for which the configuration was updated"
},
{
"name":"endpointId",
"type":"string",
"doc":"Endpoint identifier, for which the configuration was updated"
},
{
"name":"configId",
"type":"string",
"doc":"Identifier of the new configuration"
},
{
"name":"contentType",
"type":"string",
"default":"application/json",
"doc":"Type of the configuration data, e.g.: application/json, application/x-protobuf, etc."
},
{
"name":"content",
"type":"bytes",
"doc":"Configuration data encoded according to the contentType"
},
{
"name":"originatorReplicaId",
"type":[
"null",
"string"
],
"default":null,
"doc":"Identifier of the service replica that generated the event"
}
]
}