Paimon

Paimon sink connector

Description

Sink connector for Apache Paimon. It can support cdc mode 、auto create table.

Key features

Options

name
type
required
default value
Description

warehouse

String

Yes

-

Paimon warehouse path

catalog_type

String

No

filesystem

Catalog type of Paimon, support filesystem and hive

catalog_uri

String

No

-

Catalog uri of Paimon, only needed when catalog_type is hive

database

String

Yes

-

The database you want to access

table

String

Yes

-

The table you want to access

hdfs_site_path

String

No

-

The path of hdfs-site.xml

schema_save_mode

Enum

No

CREATE_SCHEMA_WHEN_NOT_EXIST

The schema save mode

data_save_mode

Enum

No

APPEND_DATA

The data save mode

paimon.table.primary-keys

String

No

-

Default comma-separated list of columns (primary key) that identify a row in tables.(Notice: The partition field needs to be included in the primary key fields)

paimon.table.partition-keys

String

No

-

Default comma-separated list of partition fields to use when creating tables.

paimon.table.write-props

Map

No

-

Properties passed through to paimon table initialization, reference.

paimon.hadoop.conf

Map

No

-

Properties in hadoop conf

paimon.hadoop.conf-path

String

No

-

The specified loading path for the 'core-site.xml', 'hdfs-site.xml', 'hive-site.xml' files

Examples

Single table

Single table(Specify hadoop HA config and kerberos config)

Single table(Hive catalog)

Single table with write props of paimon

Multiple table

example1

example2

Last updated