docs/en/connectors/source/Tablestore.md
import ChangeLog from '../changelog/connector-tablestore.md';
Tablestore source connector
Read data from Alicloud Tablestore,support full and CDC.
| name | type | required | default value |
|---|---|---|---|
| end_point | string | yes | - |
| instance_name | string | yes | - |
| access_key_id | string | yes | - |
| access_key_secret | string | yes | - |
| table | string | yes | - |
| primary_keys | array | yes | - |
| schema | config | yes | - |
The endpoint of Tablestore.
The intance name of Tablestore.
The access id of Tablestore.
The access secret of Tablestore.
The table name of Tablestore.
The primarky key of table,just add a unique primary key.
The structure of the data, including field names and field types. For more details, please refer to Schema Feature.
env {
parallelism = 1
job.mode = "STREAMING"
}
source {
# This is a example source plugin **only for test and demonstrate the feature source plugin**
Tablestore {
end_point = "https://****.cn-zhangjiakou.tablestore.aliyuncs.com"
instance_name = "****"
access_key_id="***************2Ag5"
access_key_secret="***********2Dok"
table="test"
primary_keys=["id"]
schema={
fields {
id = string
name = string
}
}
}
}
sink {
MongoDB{
uri = "mongodb://localhost:27017"
database = "test"
collection = "test"
primary-key = ["id"]
schema = {
fields {
id = string
name = string
}
}
}
}