File tree 1 file changed +7
-7
lines changed
APIJSON-Java-Server/APIJSONDemo-MultiDataSource-Kafka
1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -14,16 +14,16 @@ Request表配置post权限
14
14
![ image] ( https://user-images.githubusercontent.com/12228225/210956378-be095589-0ced-4317-bb46-6b296538f26e.png )
15
15
16
16
apijson发送mq消息:
17
- 单条
17
+ 单条< br />
18
18
{
19
- "@datasource ": "kafka",
19
+ "@datasource ": "kafka",
20
20
"Topic_User":{
21
21
"message":"test-101"
22
22
},
23
23
"tag": "Topic_User",
24
24
"@explain ": false
25
- }
26
- 多条
25
+ }< br />
26
+ 多条< br />
27
27
{
28
28
"Topic_User[ ] ": [
29
29
{
@@ -40,9 +40,9 @@ apijson发送mq消息:
40
40
41
41
客户端接收消息:
42
42
43
- offset = 47, key = null, value = test-101
44
- offset = 48, key = null, value = test-100
45
- offset = 49, key = null, value = test-101
43
+ offset = 47, key = null, value = test-101< br />
44
+ offset = 48, key = null, value = test-100< br />
45
+ offset = 49, key = null, value = test-101< br />
46
46
47
47
48
48
用java代码方式,获取具体数据源,调用即可
You can’t perform that action at this time.
0 commit comments