InfluxDB sink connector
Write data to InfluxDB.
name | type | required | default value |
---|---|---|---|
url | string | yes | - |
database | string | yes | |
measurement | string | yes | |
username | string | no | - |
password | string | no | - |
key_time | string | no | processing time |
key_tags | array | no | exclude field & key_time |
batch_size | int | no | 1024 |
max_retries | int | no | - |
retry_backoff_multiplier_ms | int | no | - |
connect_timeout_ms | long | no | 15000 |
common-options | config | no | - |
the url to connect to influxDB e.g.
http://influxdb-host:8086
The name of influxDB
database
The name of influxDB
measurement
influxDB
user username
influxDB
user password
Specify field-name of the influxDB
measurement timestamp in SeaTunnelRow. If not specified, use processing-time as timestamp
Specify field-name of the influxDB
measurement tags in SeaTunnelRow.
If not specified, include all fields with influxDB
measurement field
For batch writing, when the number of buffers reaches the number of batch_size
or the time reaches checkpoint.interval
, the data will be flushed into the influxDB
The number of retries to flush failed
Using as a multiplier for generating the next delay for backoff
The amount of time to wait before attempting to retry a request to influxDB
the timeout for connecting to InfluxDB, in milliseconds
Sink plugin common parameters, please refer to Sink Common Options for details
sink {
InfluxDB {
url = "http://influxdb-host:8086"
database = "test"
measurement = "sink"
key_time = "time"
key_tags = ["label"]
batch_size = 1
}
}
- Add InfluxDB Sink Connector