Skip to content

Commit

Permalink
[DOC]Optimizes part of the Doris and SelectDB connector documentation (
Browse files Browse the repository at this point in the history
  • Loading branch information
zy-kkk authored and hailin0 committed Mar 23, 2023
1 parent 7681aa0 commit 3baa857
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 15 deletions.
4 changes: 2 additions & 2 deletions docs/en/connector-v2/sink/Doris.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ Use JSON format to import data
```
sink {
Doris {
fenodes = ["e2e_dorisdb:8030"]
fenodes = "e2e_dorisdb:8030"
username = root
password = ""
table.identifier = "test.e2e_table_sink"
Expand All @@ -102,7 +102,7 @@ Use CSV format to import data
```
sink {
Doris {
fenodes = ["e2e_dorisdb:8030"]
fenodes = "e2e_dorisdb:8030"
username = root
password = ""
table.identifier = "test.e2e_table_sink"
Expand Down
33 changes: 20 additions & 13 deletions docs/en/connector-v2/sink/SelectDB-Cloud.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,19 @@ Version Supported

## Options

| name | type | required | default value |
|-------------------|--------|----------|------------------------|
| load-url | string | yes | - |
| jdbc-url | string | yes | - |
| cluster-name | string | yes | - |
| username | string | yes | - |
| password | string | yes | - |
| table.identifier | string | yes | - |
| selectdb.config | map | yes | - |
| sink.buffer-size | int | no | 10 * 1024 * 1024 (1MB) |
| sink.buffer-count | int | no | 10000 |
| sink.max-retries | int | no | 3 |
| name | type | required | default value |
|--------------------|--------|----------|------------------------|
| load-url | string | yes | - |
| jdbc-url | string | yes | - |
| cluster-name | string | yes | - |
| username | string | yes | - |
| password | string | yes | - |
| table.identifier | string | yes | - |
| sink.enable-delete | bool | no | false |
| selectdb.config | map | yes | - |
| sink.buffer-size | int | no | 10 * 1024 * 1024 (1MB) |
| sink.buffer-count | int | no | 10000 |
| sink.max-retries | int | no | 3 |

### load-url [string]

Expand All @@ -59,7 +60,13 @@ Version Supported

The name of `SelectDB Cloud` table, the format is `database.table`

### sink.properties [string]
### sink.enable-delete [string]

Whether to enable deletion. This option requires SelectDB Cloud table to enable batch delete function, and only supports Unique model.

`ALTER TABLE example_db.my_table ENABLE FEATURE "BATCH_DELETE";`

### selectdb.config [map]

Write property configuration

Expand Down

0 comments on commit 3baa857

Please sign in to comment.