Skip to content
This repository was archived by the owner on Jun 18, 2023. It is now read-only.

Commit da3b643

Browse files
timonbackstavshamir
authored andcommitted
GH-83: ui: Show publisher and consumer for same topic
Add mock data so that the channel example-producer-topic has a publish and subscribe configuration
1 parent 624b6a6 commit da3b643

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

src/app/shared/mock.json

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,25 @@
3636
}
3737
},
3838
"example-producer-topic": {
39+
"publish": {
40+
"bindings": {
41+
"kafka": {
42+
"groupId": {
43+
"type": "string",
44+
"enum": [
45+
"example-group-id"
46+
]
47+
}
48+
}
49+
},
50+
"message": {
51+
"name": "io.github.stavshamir.springwolf.example.dtos.ExamplePayloadDto",
52+
"title": "ExamplePayloadDto",
53+
"payload": {
54+
"$ref": "#/components/schemas/ExamplePayloadDto"
55+
}
56+
}
57+
},
3958
"subscribe": {
4059
"bindings": {
4160
"kafka": {}

0 commit comments

Comments
 (0)