Writes events to StarRocks OLAP tables.

Starrocks🔗

Writes events to StarRocks OLAP tables.

Configuration🔗

FieldTypeRequiredDefaultDescription
inputs[string]noUpstream component names that feed events into this sink.
error_policyErrorPolicynoPolicy for handling errors during event processing.
encodingEncoderConfigEnum (optional)noOptional encoder configuration for output events.
bufferBufferConfignoBuffer configuration for event batching.
fe_httpstringnoStarRocks Frontend (FE) HTTP endpoint.
flight_sqlstring (optional)noOptional StarRocks Flight SQL endpoint.
ingestion_modestringnoIngestion mode: 'auto', 'stream_load', or 'flight_sql'.
databasestringnoTarget StarRocks database name.
tablestringnoTarget StarRocks table name.
max_rowsunsigned integernoMaximum number of rows per batch before flushing.
max_bytesunsigned integernoMaximum byte size of a batch before flushing.
max_age_msunsigned integernoMaximum age of a batch in milliseconds before flushing.

Telemetry🔗

This component emits the following standard telemetry metrics and events.

Metrics🔗

NameTypeDescription
component_sent_events_totalCounterTotal number of Kinetic events successfully sent by this sink.
component_sent_event_bytes_totalCounterTotal estimated byte size of events sent.
component_sent_network_bytes_totalCounterTotal number of raw network bytes sent.
component_errors_totalCounterTotal number of errors encountered during processing.

Events🔗

NameDescription
ComponentErrorEmitted when an error occurs during component execution.
ComponentEventsDroppedEmitted when events are intentionally or unintentionally dropped.

Example🔗

sinks:
  my_starrocks:
    type: starrocks