doc: resolve wrong links

This commit is contained in:
Wade Zhang 2023-11-30 16:21:34 +08:00
parent 2700939220
commit c546411b85
3 changed files with 9 additions and 9 deletions

View File

@ -1094,7 +1094,7 @@ TaosConsumer consumer = new TaosConsumer<>(config);
- httpConnectTimeout: WebSocket connection timeout in milliseconds, the default value is 5000 ms. It only takes effect when using WebSocket type.
- messageWaitTimeout: socket timeout in milliseconds, the default value is 10000 ms. It only takes effect when using WebSocket type.
- httpPoolSize: Maximum number of concurrent requests on the a connection。It only takes effect when using WebSocket type.
- For more information, see [Consumer Parameters](../../../develop/tmq). Note that the default value of auto.offset.reset in data subscription on the TDengine server has changed since version 3.2.0.0.
- For more information, see [Consumer Parameters](../../develop/tmq). Note that the default value of auto.offset.reset in data subscription on the TDengine server has changed since version 3.2.0.0.
#### Subscribe to consume data
@ -1172,7 +1172,7 @@ consumer.unsubscribe();
consumer.close()
```
For more information, see [Data Subscription](../../../develop/tmq).
For more information, see [Data Subscription](../../develop/tmq).
#### Full Sample Code
@ -1461,7 +1461,7 @@ The source code of the sample application is under `TDengine/examples/JDBC`:
**Solution**: Use taos-jdbcdriver 3.0.2.
For additional troubleshooting, see [FAQ](../../../train-faq/faq).
For additional troubleshooting, see [FAQ](../../train-faq/faq).
## API Reference

View File

@ -347,7 +347,7 @@ client.put(&sml_data)?
### Data Subscription
TDengine starts subscriptions through [TMQ](../../../taos-sql/tmq/).
TDengine starts subscriptions through [TMQ](../../taos-sql/tmq/).
#### Create a Topic
@ -442,7 +442,7 @@ The following parameters can be configured for the TMQ DSN. Only `group.id` is m
- `group.id`: Within a consumer group, load balancing is implemented by consuming messages on an at-least-once basis.
- `client.id`: Subscriber client ID.
- `auto.offset.reset`: Initial point of subscription. *earliest* subscribes from the beginning, and *latest* subscribes from the newest message. The default value varies depending on the TDengine version. For details, see [Data Subscription](https://docs.tdengine.com/develop/tmq/). Note: This parameter is set per consumer group.
- `auto.offset.reset`: Initial point of subscription. *earliest* subscribes from the beginning, and *latest* subscribes from the newest message. The default value varies depending on the TDengine version. For details, see [Data Subscription](../../develop/tmq/). Note: This parameter is set per consumer group.
- `enable.auto.commit`: Automatically commits. This can be enabled when data consistency is not essential.
- `auto.commit.interval.ms`: Interval for automatic commits.
@ -488,7 +488,7 @@ The source code of the sample application is under `TDengine/examples/rust` :
## Frequently Asked Questions
For additional troubleshooting, see [FAQ](../../../train-faq/faq).
For additional troubleshooting, see [FAQ](../../train-faq/faq).
## API Reference

View File

@ -817,11 +817,11 @@ 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
To create topic, please refer to [Data Subscription](../../../develop/tmq/#create-a-topic).
To create topic, please refer to [Data Subscription](../../develop/tmq/#create-a-topic).
#### Create a Consumer
@ -829,7 +829,7 @@ To create topic, please refer to [Data Subscription](../../../develop/tmq/#creat
<TabItem value="native" label="native connection">
The consumer in the client library contains the subscription api. The syntax for creating a consumer is consumer = Consumer(configs). For more subscription api parameters, please refer to [Data Subscription](../../../develop/tmq/#create-a-consumer).
The consumer in the client library contains the subscription api. The syntax for creating a consumer is consumer = Consumer(configs). For more subscription api parameters, please refer to [Data Subscription](../../develop/tmq/#create-a-consumer).
```python
from taos.tmq import Consumer