/
0016-endpoint-token-revoked.avsc
47 lines (47 loc) · 1.41 KB
/
0016-endpoint-token-revoked.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
{
"namespace":"org.kaaproject.ipc.ecap.gen.v1",
"name":"EndpointTokenRevokedEvent",
"type":"record",
"doc":"Endpoint token revoked event",
"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":"appName",
"type":"string",
"doc":"Application name of the endpoint, for which tokens are revoked"
},
{
"name":"endpointId",
"type":"string",
"doc":"Identifier of the endpoint associated with revoked tokens"
},
{
"name":"tokenIds",
"type":{
"type":"array",
"items":"string"
},
"doc":"List of revoked endpoint token IDs"
},
{
"name":"originatorReplicaId",
"type":"string",
"doc":"Identifier of the service replica that generated the event"
}
]
}