改为手动提交
This commit is contained in:
parent
d639660839
commit
cf46c8b6d0
@ -141,7 +141,7 @@ class Transmitter:
|
||||
except Exception as e:
|
||||
self.log.error(traceback.format_exc())
|
||||
buffer.clear()
|
||||
try:
|
||||
kafka_client.commit()
|
||||
except Exception as e:
|
||||
self.log.error(f'进程:{self.p} error:{e}')
|
||||
# try:
|
||||
# kafka_client.commit()
|
||||
# except Exception as e:
|
||||
# self.log.error(f'进程:{self.p} error:{e}')
|
||||
|
Loading…
Reference in New Issue
Block a user