重订单问题加日志跟踪
This commit is contained in:
parent
80ec356516
commit
1b32bafe44
3
app.py
3
app.py
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user