Merge pull request #18700 from taosdata/TD-20967

test:comment commit of tmq consumer in crashGen
This commit is contained in:
Hui Li 2022-12-05 15:11:31 +08:00 committed by GitHub
commit d638019a93
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -2026,7 +2026,7 @@ class TdSuperTable:
", "true")
def tmq_commit_cb_print(tmq, resp, offset, param=None):
print(f"commit: {resp}, tmq: {tmq}, offset: {offset}, param: {param}")
conf.set_auto_commit_cb(tmq_commit_cb_print, None)
# conf.set_auto_commit_cb(tmq_commit_cb_print, None)
consumer = conf.new_consumer()
topic_list = TaosTmqList()
for topic in current_topic_list: