Update 07-python.mdx
This commit is contained in:
parent
200b669581
commit
bb37f635a8
|
@ -817,7 +817,7 @@ There is a optional parameter called `req_id` in `schemaless_insert` and `schema
|
|||
|
||||
### Data Subscription
|
||||
|
||||
Client library support data subscription. For more information about subscroption, please refer to [Data Subscription](../develop/tmq/).
|
||||
Client library support data subscription. For more information about subscroption, please refer to [Data Subscription](../../develop/tmq/).
|
||||
|
||||
#### Create a Topic
|
||||
|
||||
|
@ -842,7 +842,7 @@ consumer = Consumer({"group.id": "local", "td.connect.ip": "127.0.0.1"})
|
|||
|
||||
In addition to native connections, the client library also supports subscriptions via websockets.
|
||||
|
||||
The syntax for creating a consumer is "consumer = consumer = Consumer(conf=configs)". You need to specify that the `td.connect.websocket.scheme` parameter is set to "ws" in the configuration. For more subscription api parameters, please refer to [Data Subscription](../../../develop/tmq/#create-a-consumer).
|
||||
The syntax for creating a consumer is "consumer = consumer = Consumer(conf=configs)". You need to specify that the `td.connect.websocket.scheme` parameter is set to "ws" in the configuration. For more subscription api parameters, please refer to [Data Subscription](../../develop/tmq/#create-a-consumer).
|
||||
|
||||
```python
|
||||
import taosws
|
||||
|
|
Loading…
Reference in New Issue