改为手动提交

This commit is contained in:
wuaho 2021-10-26 17:06:40 +08:00
parent 25392daede
commit 17571d01d3

View File

@ -17,9 +17,11 @@ class Config:
'bootstrap_servers': ["192.168.0.30:9092", "192.168.0.71:9092", "192.168.0.229:9092"],
'value_deserializer': json.loads,
'auto_offset_reset': 'earliest',
'enable_auto_commit': False,
'max_poll_interval_ms': 3600000,
# 'auto_commit_interval_ms': 10000,
'session_timeout_ms': 3600000,
'connections_max_idle_ms': 3650000,
'request_timeout_ms': 3605000,
'enable_auto_commit': False,
# 每个游戏不一样
# *************