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:
commit
0474479b07
|
@ -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"])
|
||||||
|
|
|
@ -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"])
|
||||||
|
|
Loading…
Reference in New Issue