Kudu

Kudu sink connector

Support Kudu Version

  • 1.11.1/1.12.0/1.13.0/1.14.0/1.15.0

Key Features

Data Type Mapping

Nexus Data Type
Kudu Data Type

BOOLEAN

BOOL

INT

INT8 INT16 INT32

BIGINT

INT64

DECIMAL

DECIMAL

FLOAT

FLOAT

DOUBLE

DOUBLE

STRING

STRING

TIMESTAMP

UNIXTIME_MICROS

BYTES

BINARY

Sink Options

Name
Type
Required
Default
Description

kudu_masters

String

Yes

-

Kudu master address. Separated by ',',such as '192.168.88.110:7051'.

table_name

String

Yes

-

The name of kudu table.

client_worker_count

Int

No

2 * Runtime.getRuntime().availableProcessors()

Kudu worker count. Default value is twice the current number of cpu cores.

client_default_operation_timeout_ms

Long

No

30000

Kudu normal operation time out.

client_default_admin_operation_timeout_ms

Long

No

30000

Kudu admin operation time out.

enable_kerberos

Bool

No

false

Kerberos principal enable.

kerberos_principal

String

No

-

Kerberos principal. Note that all zeta nodes require have this file.

kerberos_keytab

String

No

-

Kerberos keytab. Note that all zeta nodes require have this file.

kerberos_krb5conf

String

No

-

Kerberos krb5 conf. Note that all zeta nodes require have this file.

save_mode

String

No

-

Storage mode, support overwrite and append.

session_flush_mode

String

No

AUTO_FLUSH_SYNC

Kudu flush mode. Default AUTO_FLUSH_SYNC.

batch_size

Int

No

1024

The flush max size (includes all append, upsert and delete records), over this number of records, will flush data. The default value is 100

buffer_flush_interval

Int

No

10000

The flush interval mills, over this time, asynchronous threads will flush data.

ignore_not_found

Bool

No

false

If true, ignore all not found rows.

ignore_not_duplicate

Bool

No

false

If true, ignore all dulicate rows.

common-options

No

-

Source plugin common parameters, please refer to Sink Common Options for details.

Task Example

Simple:

The following example refers to a FakeSource named "kudu" cdc write kudu table "kudu_sink_table"

Multiple table

example1

example2

Last updated