Commit e6e70d35 authored by 赵威's avatar 赵威

update interval

parent 621dab80
......@@ -14,7 +14,7 @@ def consume_kafka(device_dict, diary_dict, tractate_dict, diary_predict_fn, trac
group_id="essm_online_prediction",
enable_auto_commit=True,
auto_offset_reset="latest",
auto_commit_interval_ms=500000)
auto_commit_interval_ms=5000)
consumer.subscribe(["gm-portrait-update-device"])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment