SourceJDBCParameters

更新时间:
复制 MD 格式

名称

类型

描述

示例值

object

JdbcUrl

string

JDBC 连接 URL。ClickHouse 示例:jdbc:clickhouse://host:8123/database;MySQL 示例:jdbc:mysql://host:3306/database。系统自动识别数据库类型

Username

string

数据库用户名

Password

string

数据库密码

QueryMode

string

查询模式。取值:bulk(全量查询);incrementing(自增列追踪);timestamp(时间戳追踪);timestamp_incrementing(时间戳+自增列双追踪)

TableName

string

目标表名。与 CustomQuery 互斥,未使用自定义 SQL 时必填

IncrementingColumn

string

自增列名。QueryMode 为 incrementingtimestamp_incrementing 时必填

TimestampColumn

string

时间戳列名。QueryMode 为 timestamptimestamp_incrementing 时必填

PollingInterval

integer

轮询间隔,单位:秒。最小值 10,默认 60

BatchSize

integer

每次查询最大返回行数。默认 1000,最大值 10000

QueryTimeout

integer

SQL 查询超时时间,单位:秒。默认 30,最大值 300

CustomQuery

string

自定义 SQL 查询语句(高级模式)。与 TableName 互斥

Network

string

网络类型。取值:PublicNetwork(公网);PrivateNetwork(VPC 私网,需同时配置 VpcId、VSwitchIds、SecurityGroupId)

VpcId

string

VPC 的 ID。Network 为 PrivateNetwork 时必填

VSwitchIds

string

交换机 ID。Network 为 PrivateNetwork 时必填

SecurityGroupId

string

安全组 ID。Network 为 PrivateNetwork 时必填