Druid

Druid sink connector

Write data to Druid

Key featuresarrow-up-right

Data Type Mappingarrow-up-right

Nexus Data Type
Druid Data Type

TINYINT

LONG

SMALLINT

LONG

INT

LONG

BIGINT

LONG

FLOAT

FLOAT

DOUBLE

DOUBLE

DECIMAL

DOUBLE

STRING

STRING

BOOLEAN

STRING

TIMESTAMP

STRING

name
type
required
default value

coordinatorUrl

string

yes

-

datasource

string

yes

-

batchSize

int

no

10000

common-options

no

-

coordinatorUrl [string]arrow-up-right

The coordinatorUrl host and port of Druid, example: "myHost:8888"

datasource [string]arrow-up-right

The datasource name you want to write, example: "nexus"

batchSize [int]arrow-up-right

The number of rows flushed to Druid per batch. Default value is 1024.

common optionsarrow-up-right

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

Simple example:

Use placeholders get upstream table metadata example:

Last updated