重订单问题加日志跟踪

This commit is contained in:
wuaho 2021-10-21 09:46:45 +08:00
parent 80ec356516
commit 1b32bafe44

3
app.py
View File

@ -52,7 +52,8 @@ class XProcess(Process):
elif 'track' in type_:
# continue
if data['#event_name'] == 'pay':
self.log.info(data)
self.log.info(f'topid->{msg.topic} | partition->{msg.partition} | offset->{msg.offset} | data-> {data}')
obj = getattr(handler_event, type_)
obj(data)
elif type_ == settings.STOP_SIGNAL: