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
|
2023-11-27 19:59:15.499 | INFO | app.core.xlogger:dispatch:30 - Request: GET http://127.0.0.1:8081/kafka/consume_messages/age Headers({'host': '127.0.0.1:8081', 'sec-fetch-site': 'same-origin', 'accept-encoding': 'gzip, deflate', 'connection': 'keep-alive', 'sec-fetch-mode': 'cors', 'accept': 'application/json', 'user-agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.0 Safari/605.1.15', 'referer': 'http://127.0.0.1:8081/docs', 'sec-fetch-dest': 'empty', 'accept-language': 'zh-CN,zh-Hans;q=0.9'})
2023-11-27 19:59:15.502 | DEBUG | app.core.xlogger:dispatch:33 - Request query_params: {}
msg = None
msg = None
msg = None
msg = None
msg = None
msg = None
2023-11-27 19:59:22.315 | INFO | app.core.xlogger:dispatch:30 - Request: POST http://127.0.0.1:8081/kafka/send_message/age?message=10 Headers({'host': '127.0.0.1:8081', 'sec-fetch-site': 'same-origin', 'accept-encoding': 'gzip, deflate', 'accept-language': 'zh-CN,zh-Hans;q=0.9', 'sec-fetch-mode': 'cors', 'accept': 'application/json', 'origin': 'http://127.0.0.1:8081', 'content-length': '0', 'connection': 'keep-alive', 'user-agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.0 Safari/605.1.15', 'referer': 'http://127.0.0.1:8081/docs', 'sec-fetch-dest': 'empty'})
2023-11-27 19:59:22.319 | DEBUG | app.core.xlogger:dispatch:33 - Request query_params: {'message': '10'}
msg = None
msg = <cimpl.Message object at 0x10fdb1140>
2023-11-27 19:59:22.804 | ERROR | app.core.xlogger:dispatch:46 - total time cost: 0.48857784271240234
2023-11-27 19:59:22.805 | INFO | app.core.xlogger:dispatch:50 - Response status code: 200 Response headers: MutableHeaders({'content-length': '47', 'content-type': 'application/json'})
2023-11-27 19:59:22.806 | ERROR | app.core.xlogger:dispatch:46 - total time cost: 7.306714057922363
2023-11-27 19:59:22.807 | INFO | app.core.xlogger:dispatch:50 - Response status code: 200 Response headers: MutableHeaders({'content-length': '35', 'content-type': 'application/json'})
2023-11-27 19:59:22.813 | INFO | app.core.xlogger:dispatch:55 - Response Body: b'{"message":"Message sent to Kafka topic\xef\xbc\x9aage"}'
2023-11-27 19:59:22.816 | INFO | app.core.xlogger:dispatch:55 - Response Body: b'{"consume topic: age message":"10"}'
2023-11-27 19:59:37.587 | INFO | app.core.xlogger:dispatch:30 - Request: GET http://127.0.0.1:8081/kafka/consume_messages/phone Headers({'host': '127.0.0.1:8081', 'sec-fetch-site': 'same-origin', 'accept-encoding': 'gzip, deflate', 'connection': 'keep-alive', 'sec-fetch-mode': 'cors', 'accept': 'application/json', 'user-agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.0 Safari/605.1.15', 'referer': 'http://127.0.0.1:8081/docs', 'sec-fetch-dest': 'empty', 'accept-language': 'zh-CN,zh-Hans;q=0.9'})
2023-11-27 19:59:37.591 | DEBUG | app.core.xlogger:dispatch:33 - Request query_params: {}
msg = None
msg = None
msg = None
msg = None
msg = None
msg = None
msg = None
msg = None
2023-11-27 19:59:46.464 | INFO | app.core.xlogger:dispatch:30 - Request: POST http://127.0.0.1:8081/kafka/send_message/phone?message=152 Headers({'host': '127.0.0.1:8081', 'sec-fetch-site': 'same-origin', 'accept-encoding': 'gzip, deflate', 'accept-language': 'zh-CN,zh-Hans;q=0.9', 'sec-fetch-mode': 'cors', 'accept': 'application/json', 'origin': 'http://127.0.0.1:8081', 'content-length': '0', 'connection': 'keep-alive', 'user-agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.0 Safari/605.1.15', 'referer': 'http://127.0.0.1:8081/docs', 'sec-fetch-dest': 'empty'})
2023-11-27 19:59:46.465 | DEBUG | app.core.xlogger:dispatch:33 - Request query_params: {'message': '152'}
msg = None
msg = <cimpl.Message object at 0x10fe69c40>
2023-11-27 19:59:46.874 | ERROR | app.core.xlogger:dispatch:46 - total time cost: 0.4104759693145752
2023-11-27 19:59:46.876 | INFO | app.core.xlogger:dispatch:50 - Response status code: 200 Response headers: MutableHeaders({'content-length': '49', 'content-type': 'application/json'})
2023-11-27 19:59:46.877 | ERROR | app.core.xlogger:dispatch:46 - total time cost: 9.290580987930298
2023-11-27 19:59:46.877 | INFO | app.core.xlogger:dispatch:50 - Response status code: 200 Response headers: MutableHeaders({'content-length': '38', 'content-type': 'application/json'})
2023-11-27 19:59:46.878 | INFO | app.core.xlogger:dispatch:55 - Response Body: b'{"message":"Message sent to Kafka topic\xef\xbc\x9aphone"}'
2023-11-27 19:59:46.879 | INFO | app.core.xlogger:dispatch:55 - Response Body: b'{"consume topic: phone message":"152"}'
2023-11-27 19:59:54.660 | INFO | app.core.xlogger:dispatch:30 - Request: GET http://127.0.0.1:8081/kafka/consume_messages/name Headers({'host': '127.0.0.1:8081', 'sec-fetch-site': 'same-origin', 'accept-encoding': 'gzip, deflate', 'connection': 'keep-alive', 'sec-fetch-mode': 'cors', 'accept': 'application/json', 'user-agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.0 Safari/605.1.15', 'referer': 'http://127.0.0.1:8081/docs', 'sec-fetch-dest': 'empty', 'accept-language': 'zh-CN,zh-Hans;q=0.9'})
2023-11-27 19:59:54.660 | DEBUG | app.core.xlogger:dispatch:33 - Request query_params: {}
msg = <cimpl.Message object at 0x10fe6a4c0>
2023-11-27 19:59:54.933 | WARNING | app.core.xlogger:dispatch:48 - total time cost: 0.2732861042022705
2023-11-27 19:59:54.933 | INFO | app.core.xlogger:dispatch:50 - Response status code: 200 Response headers: MutableHeaders({'content-length': '41', 'content-type': 'application/json'})
2023-11-27 19:59:54.934 | INFO | app.core.xlogger:dispatch:55 - Response Body: b'{"consume topic: name message":"ksnowlv"}'
|