This is an automated email from the ASF dual-hosted git repository.
wanghailin pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/seatunnel.git
The following commit(s) were added to refs/heads/dev by this push:
new d5a82bba58 [Doc][Improve] support chinese
[docs/zh/connector-v2/source/AmazonDynamoDB.md] (#8694)
d5a82bba58 is described below
commit d5a82bba5830b00b7cd0ddd2e9818d16046bf0eb
Author: mickeyzzm <[email protected]>
AuthorDate: Thu Feb 13 19:59:56 2025 +0800
[Doc][Improve] support chinese
[docs/zh/connector-v2/source/AmazonDynamoDB.md] (#8694)
---
docs/zh/connector-v2/source/AmazonDynamoDB.md | 120 ++++++++++++++++++++++++++
1 file changed, 120 insertions(+)
diff --git a/docs/zh/connector-v2/source/AmazonDynamoDB.md
b/docs/zh/connector-v2/source/AmazonDynamoDB.md
new file mode 100644
index 0000000000..4cf682d81a
--- /dev/null
+++ b/docs/zh/connector-v2/source/AmazonDynamoDB.md
@@ -0,0 +1,120 @@
+# AmazonDynamoDB
+
+> AmazonDynamoDB 源连接器
+
+## 描述
+
+从 Amazon DynamoDB 读取数据.
+
+## 关键特性
+
+- [x] [批处理](../../concept/connector-v2-features.md)
+- [ ] [流处理](../../concept/connector-v2-features.md)
+- [ ] [精确一次](../../concept/connector-v2-features.md)
+- [ ] [列投影](../../concept/connector-v2-features.md)
+- [x] [并行度](../../concept/connector-v2-features.md)
+- [ ] [支持用户自定义分片](../../concept/connector-v2-features.md)
+
+## 选项
+
+| 名称 | 类型 | 必需 | 默认值 |
+|-----------------------|--------|-------|---------------|
+| url | string | 是 | - |
+| region | string | 是 | - |
+| access_key_id | string | 是 | - |
+| secret_access_key | string | 是 | - |
+| table | string | 是 | - |
+| schema | config | 是 | - |
+| common-options | | 是 | - |
+| scan_item_limit | | 否 | - |
+| parallel_scan_threads | | 否 | - |
+
+### url [string]
+
+读取Amazon Dynamodb的URL.
+
+### region [string]
+
+Amazon DynamoDB 的分区.
+
+### accessKeyId [string]
+
+Amazon DynamoDB的访问id.
+
+### secretAccessKey [string]
+
+Amazon DynamoDB的访问密钥.
+
+### table [string]
+
+Amazon DynamoDB 的表名.
+
+### schema [Config]
+
+#### fields [config]
+
+Amazon Dynamodb是一个支持键值存储和文档数据结构的NOSQL数据库服务,无法获取数据类型。因此,我们必须配置模式.
+
+例如:
+
+```
+schema {
+ fields {
+ id = int
+ key_aa = string
+ key_bb = string
+ }
+}
+```
+
+### common options
+
+源插件常用参数,详见 [Source Plugin](../source-common-options.md)
+
+### scan_item_limit
+
+每个扫描请求应返回的项目数
+
+### parallel_scan_threads
+
+并行扫描的逻辑段数
+
+## 例子
+
+```bash
+Amazondynamodb {
+ url = "http://127.0.0.1:8000"
+ region = "us-east-1"
+ accessKeyId = "dummy-key"
+ secretAccessKey = "dummy-secret"
+ table = "TableName"
+ schema = {
+ fields {
+ artist = string
+ c_map = "map<string, array<int>>"
+ c_array = "array<int>"
+ c_string = string
+ c_boolean = boolean
+ c_tinyint = tinyint
+ c_smallint = smallint
+ c_int = int
+ c_bigint = bigint
+ c_float = float
+ c_double = double
+ c_decimal = "decimal(30, 8)"
+ c_null = "null"
+ c_bytes = bytes
+ c_date = date
+ c_timestamp = timestamp
+ }
+ }
+}
+```
+
+## 变更日志
+
+### 下一个版本
+
+- 添加Amazon DynamoDB源连接器
+- 将源代码拆分添加到Amazondynamodb连接器
+