跳到主要内容
版本:Next

GoogleBigtable

Google Bigtable Source 连接器

描述

使用原生 Bigtable Data v2 Java 客户端从 Google Cloud Bigtable 读取数据。

主要特性

参数

参数名类型是否必填默认值
project_idstring-
instance_idstring-
tablestring-
credentials_pathstring-
rowkey_columnlist-
start_rowkeystring-
end_rowkeystring-
start_timestamplong-
end_timestamplong-
max_versionsint1
scan_row_limitint-1
common-options-

Schema 映射

字段名须使用 列族:列限定符 格式,例如 cf:namestats:age。特殊字段名 rowkey 映射到行键。

示例

source {
GoogleBigtable {
project_id = "my-gcp-project"
instance_id = "my-bigtable-instance"
table = "events"
schema {
fields {
rowkey = BYTES
"cf:type" = STRING
"cf:ts" = BIGINT
}
}
}
}

Changelog

Change Log
ChangeCommitVersion
[Feature][Connector-V2] Add Google Cloud Bigtable Source and Sink connectorhttps://github.com/apache/seatunnel/commit/8e57c04dev