-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path2x.json
More file actions
74 lines (74 loc) · 1.61 KB
/
2x.json
File metadata and controls
74 lines (74 loc) · 1.61 KB
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
{
"asyncapi": "2.6.0",
"info": {
"title": "Async API Specification Document for Application",
"version": "1.0",
"description": "Async API Specification Document for Application",
"contact": {
"name": "",
"url": "",
"email": ""
},
"license": {
"name": "Apache 2.0",
"url": ""
}
},
"servers": {
"cluster": {
"url": "localhost:9092",
"protocol": "kafka",
"protocolVersion": "",
"description": "kafka broker instance",
"security": [],
"bindings": {}
},
"schema-registry": {
"url": "http://localhost:8081",
"protocol": "kafka",
"protocolVersion": "",
"description": "kafka schema registry server",
"security": [],
"bindings": {}
}
},
"defaultContentType": "application/json",
"channels": {
"test-rep": {
"servers": [
"cluster"
],
"subscribe": {
"operationId": "test-repSubscribeMessage",
"message": {
"$ref": "#/components/messages/account"
}
}
}
},
"components": {
"schemas": {},
"messages": {
"account": {
"payload": {
"name": "account",
"type": "record",
"fields": [
{
"name": "name",
"type": "string"
},
{
"name": "money",
"type": "int",
"default": 20000
}
]
},
"schemaFormat": "application/vnd.apache.avro+json;version=1.9.0",
"contentType": "application/json",
"name": "account"
}
}
}
}