-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsample1.json
80 lines (80 loc) · 1.75 KB
/
sample1.json
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
75
76
77
78
79
80
{
"meta": {
"uuid": "abcdefgh",
"name": "KBook Demo",
"schemaRegistry": "http://localhost:8081",
"bootstrapServers": "localhost:9092"
},
"dag": {
"nodes": [
{
"meta": {
"uuid": "akdsjflkdsjflkasdfs1",
"name": "KVP Source",
"clazz": "link.lcz.kbookdemo.logicnode.source.KVPSource",
"type": "source"
},
"config": {
"topicNames": [
"intopic"
],
"fields": [
{
"name": "name",
"type": "string"
},
{
"name": "age",
"type": "int"
}
]
},
"inbounds": [],
"outbounds": []
},
{
"meta": {
"uuid": "sdhfoughogfreg8re2",
"name": "Constant Adder",
"clazz": "link.lcz.kbookdemo.logicnode.transformer.ConstantAdder",
"type": "transformer"
},
"config": {
"field": "age",
"constant": 10
},
"inbounds": [],
"outbounds": []
},
{
"meta": {
"uuid": "kythtrjyyrterjher3",
"name": "Avro Sink",
"clazz": "link.lcz.kbookdemo.logicnode.sink.AvroSink",
"type": "sink"
},
"config": {
"topicName": "outtopic"
},
"inbounds": [],
"outbounds": []
}
],
"edges": [
{
"fromNode": "akdsjflkdsjflkasdfs1",
"toNode": "sdhfoughogfreg8re2",
"uuid": "a",
"fromPort": 0,
"toPort": 0
},
{
"fromNode": "sdhfoughogfreg8re2",
"toNode": "kythtrjyyrterjher3",
"uuid": "b",
"fromPort": 0,
"toPort": 0
}
]
}
}