Merge pull request #29557 from taosdata/tomchon-patch-3
modify consumer parameters in 07-tmq.md
This commit is contained in:
commit
192001b17d
|
@ -31,12 +31,12 @@ There are many parameters for creating consumers, which flexibly support various
|
||||||
|
|
||||||
| Parameter Name | Type | Description | Remarks |
|
| Parameter Name | Type | Description | Remarks |
|
||||||
| :-----------------------: | :-----: | ------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
| :-----------------------: | :-----: | ------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||||
| `td.connect.ip` | string | Server IP address | |
|
| `td.connect.ip` | string | FQDN of Server | ip or host name |
|
||||||
| `td.connect.user` | string | Username | |
|
| `td.connect.user` | string | Username | |
|
||||||
| `td.connect.pass` | string | Password | |
|
| `td.connect.pass` | string | Password | |
|
||||||
| `td.connect.port` | integer | Server port number | |
|
| `td.connect.port` | integer | Server port number | |
|
||||||
| `group.id` | string | Consumer group ID, the same consumer group shares consumption progress | <br />**Required**. Maximum length: 192.<br />Each topic can have up to 100 consumer groups |
|
| `group.id` | string | Consumer group ID, the same consumer group shares consumption progress | <br />**Required**. Maximum length: 192,excess length will be cut off.<br />Each topic can have up to 100 consumer groups |
|
||||||
| `client.id` | string | Client ID | Maximum length: 192 |
|
| `client.id` | string | Client ID | Maximum length: 255, excess length will be cut off. |
|
||||||
| `auto.offset.reset` | enum | Initial position of the consumer group subscription | <br />`earliest`: default(version < 3.2.0.0); subscribe from the beginning; <br/>`latest`: default(version >= 3.2.0.0); only subscribe from the latest data; <br/>`none`: cannot subscribe without a committed offset |
|
| `auto.offset.reset` | enum | Initial position of the consumer group subscription | <br />`earliest`: default(version < 3.2.0.0); subscribe from the beginning; <br/>`latest`: default(version >= 3.2.0.0); only subscribe from the latest data; <br/>`none`: cannot subscribe without a committed offset |
|
||||||
| `enable.auto.commit` | boolean | Whether to enable automatic consumption point submission, true: automatic submission, client application does not need to commit; false: client application needs to commit manually | Default is true |
|
| `enable.auto.commit` | boolean | Whether to enable automatic consumption point submission, true: automatic submission, client application does not need to commit; false: client application needs to commit manually | Default is true |
|
||||||
| `auto.commit.interval.ms` | integer | Time interval for automatically submitting consumption records, in milliseconds | Default is 5000 |
|
| `auto.commit.interval.ms` | integer | Time interval for automatically submitting consumption records, in milliseconds | Default is 5000 |
|
||||||
|
|
Loading…
Reference in New Issue