Merge pull request #23336 from taosdata/docs/sunpeng/delete-snapshot-enable-in-demo

docs: delete snapshot.enable in py demo
This commit is contained in:
wade zhang 2023-10-19 14:44:07 +08:00 committed by GitHub
commit 0474479b07
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 6 deletions

View File

@ -23,9 +23,6 @@ def taos_get_assignment_and_seek_demo():
consumer = Consumer( consumer = Consumer(
{ {
"group.id": "0", "group.id": "0",
# should disable snapshot,
# otherwise it will cause invalid params error
"experimental.snapshot.enable": "false",
} }
) )
consumer.subscribe(["tmq_assignment_demo_topic"]) consumer.subscribe(["tmq_assignment_demo_topic"])

View File

@ -21,9 +21,6 @@ def taosws_get_assignment_and_seek_demo():
prepare() prepare()
consumer = taosws.Consumer(conf={ consumer = taosws.Consumer(conf={
"td.connect.websocket.scheme": "ws", "td.connect.websocket.scheme": "ws",
# should disable snapshot,
# otherwise it will cause invalid params error
"experimental.snapshot.enable": "false",
"group.id": "0", "group.id": "0",
}) })
consumer.subscribe(["tmq_assignment_demo_topic"]) consumer.subscribe(["tmq_assignment_demo_topic"])