改为手动提交

This commit is contained in:
wuaho 2021-10-26 19:25:35 +08:00
parent d639660839
commit cf46c8b6d0

View File

@ -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}')