vector/sinks/clickhouse/mod.rs
1//! The Clickhouse [`vector_lib::sink::VectorSink`]
2//!
3//! This module contains the [`vector_lib::sink::VectorSink`] instance that is responsible for
4//! taking a stream of [`vector_lib::event::Event`] instances and forwarding them to Clickhouse.
5//!
6//! Events are sent to Clickhouse using the HTTP interface with a query of the following structure:
7//! `INSERT INTO my_db.my_table FORMAT JSONEachRow`. The event payload is encoded as new-line
8//! delimited JSON.
9//!
10//! This sink only supports logs for now but could support metrics and traces as well in the future.
11
12pub mod config;
13#[cfg(all(test, feature = "clickhouse-integration-tests"))]
14mod integration_tests;
15mod request_builder;
16mod service;
17mod sink;