Skip to content

Commit 14012ea

Browse files
authored
[Doc][Improve] support chinese [docs/zh/connector-v2/source/OpenMldb.md] (#8710)
1 parent 60b8edd commit 14012ea

File tree

1 file changed

+86
-0
lines changed

1 file changed

+86
-0
lines changed
Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
# OpenMldb
2+
3+
> OpenMldb 源连接器
4+
5+
## 描述
6+
7+
用于从 OpenMldb 读取数据.
8+
9+
## 关键特性
10+
11+
- [x] [批处理](../../concept/connector-v2-features.md)
12+
- [x] [流处理](../../concept/connector-v2-features.md)
13+
- [ ] [精确一次](../../concept/connector-v2-features.md)
14+
- [x] [列投影](../../concept/connector-v2-features.md)
15+
- [ ] [并行度](../../concept/connector-v2-features.md)
16+
- [ ] [支持用户自定义分片](../../concept/connector-v2-features.md)
17+
18+
## 选项
19+
20+
| 名称 | 类型 | 必需 | 默认值 |
21+
|-----------------|---------|----------|---------------|
22+
| cluster_mode | boolean || - |
23+
| sql | string || - |
24+
| database | string || - |
25+
| host | string || - |
26+
| port | int || - |
27+
| zk_path | string || - |
28+
| zk_host | string || - |
29+
| session_timeout | int || 10000 |
30+
| request_timeout | int || 60000 |
31+
| common-options | || - |
32+
33+
### cluster_mode [string]
34+
35+
OpenMldb 是否处于群集模式
36+
37+
### sql [string]
38+
39+
Sql 语句
40+
41+
### database [string]
42+
43+
数据库名称
44+
45+
### host [string]
46+
47+
OpenMldb主机,仅支持OpenMldb单模
48+
49+
### port [int]
50+
51+
OpenMldb端口,仅支持OpenMldb单模
52+
53+
### zk_host [string]
54+
55+
Zookeeper主机,仅在OpenMldb集群模式下受支持
56+
57+
### zk_path [string]
58+
59+
Zookeeper路径,仅在OpenMldb集群模式下受支持
60+
61+
### session_timeout [int]
62+
63+
OpenMldb会话超时(ms),默认值60000
64+
65+
### request_timeout [int]
66+
67+
OpenMldb请求超时(ms),默认值为10000
68+
69+
### common options
70+
71+
源插件常用参数, 详见 [Source Common Options](../source-common-options.md)
72+
73+
## 示例
74+
75+
```hocon
76+
77+
OpenMldb {
78+
host = "172.17.0.2"
79+
port = 6527
80+
sql = "select * from demo_table1"
81+
database = "demo_db"
82+
cluster_mode = false
83+
}
84+
85+
```
86+

0 commit comments

Comments
 (0)