> ## Documentation Index
> Fetch the complete documentation index at: https://private-7c7dfe99-mintlify-fbfa8bee.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

> Seamlessly connect your external data sources to ClickHouse Cloud.

# Integrating with ClickHouse Cloud

export const Image = ({img, alt, size}) => {
  return <Frame>
      <img src={img} alt={alt} />
    </Frame>;
};

<h2 id="introduction">
  Introduction
</h2>

[ClickPipes](/integrations/clickpipes/home) is a managed integration platform that makes ingesting data from a diverse set of sources as simple as clicking a few buttons. Designed for the most demanding workloads, ClickPipes's robust and scalable architecture ensures consistent performance and reliability. ClickPipes can be used for long-term streaming needs or one-time data loading job.

ClickPipes can be deployed and managed manually using the ClickPipes UI, as well as programmatically using [OpenAPI](/integrations/clickpipes/programmatic-access/openapi) and [Terraform](/integrations/clickpipes/programmatic-access/terraform).

<Image img="https://mintcdn.com/private-7c7dfe99-mintlify-fbfa8bee/2Zeerd64Tl5ZAQUa/images/integrations/data-ingestion/clickpipes/clickpipes_stack.png?fit=max&auto=format&n=2Zeerd64Tl5ZAQUa&q=85&s=5282fa00ecfc879e2233ae7f212537a1" alt="ClickPipes stack" size="lg" border width="1200" height="400" data-path="images/integrations/data-ingestion/clickpipes/clickpipes_stack.png" />

<h2 id="supported-data-sources">
  Supported data sources
</h2>

| Name                                                        | Logo                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           | Type           | Status          | Description                                                                                                                                                                                           |
| ----------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------- | --------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [Apache Kafka](/integrations/clickpipes/kafka/index)        | <img src="https://mintcdn.com/private-7c7dfe99-mintlify-fbfa8bee/oAyKMWqXNwIzArPG/images/integrations/logos/kafka.svg?fit=max&auto=format&n=oAyKMWqXNwIzArPG&q=85&s=9d976a12cdd932e5e3b29ebb2ead4fe2" alt="Apache Kafka logo" width="32" data-path="images/integrations/logos/kafka.svg" />                                                                                                                 | Streaming      | Stable          | Configure ClickPipes and start ingesting streaming data from Apache Kafka into ClickHouse Cloud.                                                                                                      |
| Confluent Cloud                                             | <img src="https://mintcdn.com/private-7c7dfe99-mintlify-fbfa8bee/SuhGaqX11zhHEe0p/images/integrations/logos/confluent.svg?fit=max&auto=format&n=SuhGaqX11zhHEe0p&q=85&s=8b7a4261908a5041ebcdd4330dec49e7" alt="Confluent Cloud logo" width="32" data-path="images/integrations/logos/confluent.svg" />                                                                                | Streaming      | Stable          | Unlock the combined power of Confluent and ClickHouse Cloud through our direct integration.                                                                                                           |
| Redpanda                                                    | <img src="https://mintcdn.com/private-7c7dfe99-mintlify-fbfa8bee/oAyKMWqXNwIzArPG/images/integrations/logos/logo_redpanda.png?fit=max&auto=format&n=oAyKMWqXNwIzArPG&q=85&s=0d2b4b02e1d80b4485af513054c02afd" alt="Redpanda logo" width="32" data-path="images/integrations/logos/logo_redpanda.png" />                                                     | Streaming      | Stable          | Configure ClickPipes and start ingesting streaming data from Redpanda into ClickHouse Cloud.                                                                                                          |
| AWS MSK                                                     | <img src="https://mintcdn.com/private-7c7dfe99-mintlify-fbfa8bee/oAyKMWqXNwIzArPG/images/integrations/logos/msk.svg?fit=max&auto=format&n=oAyKMWqXNwIzArPG&q=85&s=2e5c4aea1d654cbb701fe62307f074c1" alt="AWS MSK logo" width="32" data-path="images/integrations/logos/msk.svg" />                                                                                                                                        | Streaming      | Stable          | Configure ClickPipes and start ingesting streaming data from AWS MSK into ClickHouse Cloud.                                                                                                           |
| Azure Event Hubs                                            | <img src="https://mintcdn.com/private-7c7dfe99-mintlify-fbfa8bee/SuhGaqX11zhHEe0p/images/integrations/logos/azure_event_hubs.svg?fit=max&auto=format&n=SuhGaqX11zhHEe0p&q=85&s=0f2f2b10b59778f60eedbd85f211ff16" alt="Azure Event Hubs logo" width="32" data-path="images/integrations/logos/azure_event_hubs.svg" />                       | Streaming      | Stable          | Configure ClickPipes and start ingesting streaming data from Azure Event Hubs into ClickHouse Cloud. See the [Azure Event Hubs FAQ](/integrations/clickpipes/kafka/faq#azure-eventhubs) for guidance. |
| WarpStream                                                  | <img src="https://mintcdn.com/private-7c7dfe99-mintlify-fbfa8bee/amY-JDMREAaO7mx6/images/integrations/logos/warpstream.svg?fit=max&auto=format&n=amY-JDMREAaO7mx6&q=85&s=54e8a003c9eebe5b64214aa683f9b622" alt="WarpStream logo" width="32" data-path="images/integrations/logos/warpstream.svg" />                                                                             | Streaming      | Stable          | Configure ClickPipes and start ingesting streaming data from WarpStream into ClickHouse Cloud.                                                                                                        |
| Amazon S3                                                   | <img src="https://mintcdn.com/private-7c7dfe99-mintlify-fbfa8bee/SuhGaqX11zhHEe0p/images/integrations/logos/amazon_s3_logo.svg?fit=max&auto=format&n=SuhGaqX11zhHEe0p&q=85&s=2256c751300a4a95c9ddece2a88a354c" alt="Amazon S3 logo" width="32" data-path="images/integrations/logos/amazon_s3_logo.svg" />                                            | Object Storage | Stable          | Configure ClickPipes to ingest large volumes of data from object storage.                                                                                                                             |
| Google Cloud Storage                                        | <img src="https://mintcdn.com/private-7c7dfe99-mintlify-fbfa8bee/SuhGaqX11zhHEe0p/images/integrations/logos/gcs.svg?fit=max&auto=format&n=SuhGaqX11zhHEe0p&q=85&s=3126be8c15aac44782d89b8b2ddcb8f6" alt="Google Cloud Storage logo" width="32" data-path="images/integrations/logos/gcs.svg" />                                                                                                                         | Object Storage | Stable          | Configure ClickPipes to ingest large volumes of data from object storage.                                                                                                                             |
| DigitalOcean Spaces                                         | <img src="https://mintcdn.com/private-7c7dfe99-mintlify-fbfa8bee/SuhGaqX11zhHEe0p/images/integrations/logos/digitalocean.svg?fit=max&auto=format&n=SuhGaqX11zhHEe0p&q=85&s=d4eb2bea278108ffa7b0fcb0468743f2" alt="Digital Ocean logo" width="32" data-path="images/integrations/logos/digitalocean.svg" />                                                          | Object Storage | Stable          | Configure ClickPipes to ingest large volumes of data from object storage.                                                                                                                             |
| Azure Blob Storage                                          | <img src="https://mintcdn.com/private-7c7dfe99-mintlify-fbfa8bee/SuhGaqX11zhHEe0p/images/integrations/logos/azureblobstorage.svg?fit=max&auto=format&n=SuhGaqX11zhHEe0p&q=85&s=404dcd3376a1a47396ce313b7a7e0a31" alt="Azure Blob Storage logo" width="32" data-path="images/integrations/logos/azureblobstorage.svg" />                     | Object Storage | Stable          | Configure ClickPipes to ingest large volumes of data from object storage.                                                                                                                             |
| [Amazon Kinesis](/integrations/clickpipes/kinesis/overview) | <img src="https://mintcdn.com/private-7c7dfe99-mintlify-fbfa8bee/SuhGaqX11zhHEe0p/images/integrations/logos/amazon_kinesis_logo.svg?fit=max&auto=format&n=SuhGaqX11zhHEe0p&q=85&s=084a991263b1aaa7dc522245dc7342f5" alt="Amazon Kenesis logo" width="32" data-path="images/integrations/logos/amazon_kinesis_logo.svg" /> | Streaming      | Stable          | Configure ClickPipes and start ingesting streaming data from Amazon Kinesis into ClickHouse cloud.                                                                                                    |
| [GCP Pub/Sub](/integrations/clickpipes/pubsub/overview)     | <img src="https://mintcdn.com/private-7c7dfe99-mintlify-fbfa8bee/SuhGaqX11zhHEe0p/images/integrations/logos/google_pubsub.svg?fit=max&auto=format&n=SuhGaqX11zhHEe0p&q=85&s=35a0719378df7b317e5570e01320af27" alt="Google Cloud Pub/Sub logo" width="32" data-path="images/integrations/logos/google_pubsub.svg" />                                       | Streaming      | Public Beta     | Configure ClickPipes and start ingesting streaming data from Google Cloud Pub/Sub into ClickHouse Cloud.                                                                                              |
| [Postgres](/integrations/clickpipes/postgres/index)         | <img src="https://mintcdn.com/private-7c7dfe99-mintlify-fbfa8bee/oAyKMWqXNwIzArPG/images/integrations/logos/postgresql.svg?fit=max&auto=format&n=oAyKMWqXNwIzArPG&q=85&s=56606332fa0641c3c4df23e9bdb47b7a" alt="Postgres logo" width="32" data-path="images/integrations/logos/postgresql.svg" />                                                                             | DBMS           | Stable          | Configure ClickPipes and start ingesting data from Postgres into ClickHouse Cloud.                                                                                                                    |
| [MySQL](/integrations/clickpipes/mysql/index)               | <img src="https://mintcdn.com/private-7c7dfe99-mintlify-fbfa8bee/oAyKMWqXNwIzArPG/images/integrations/logos/mysql.svg?fit=max&auto=format&n=oAyKMWqXNwIzArPG&q=85&s=7fb13293caf29b651c853d2ca8f93d3d" alt="MySQL logo" width="32" data-path="images/integrations/logos/mysql.svg" />                                                                                                                        | DBMS           | Public Beta     | Configure ClickPipes and start ingesting data from MySQL into ClickHouse Cloud.                                                                                                                       |
| [MongoDB](/integrations/clickpipes/mongodb/index)           | <img src="https://mintcdn.com/private-7c7dfe99-mintlify-fbfa8bee/oAyKMWqXNwIzArPG/images/integrations/logos/mongodb.svg?fit=max&auto=format&n=oAyKMWqXNwIzArPG&q=85&s=382a2d8cf11fb8a1fc4ffef475a5bd60" alt="MongoDB logo" width="32" data-path="images/integrations/logos/mongodb.svg" />                                                                                                        | DBMS           | Private Preview | Configure ClickPipes and start ingesting data from MongoDB into ClickHouse Cloud.                                                                                                                     |

More connectors will get added to ClickPipes, you can find out more by [contacting us](https://clickhouse.com/company/contact?loc=clickpipes).

<h2 id="list-of-static-ips">
  List of Static IPs
</h2>

The following tables list the static NAT IPs that ClickPipes uses to connect to your external services. Add the IPs for the ClickPipes region that serves your ClickHouse Cloud service to your IP allow list. In the case of object storage pipes you should also add the [ClickHouse cluster IPs](/products/cloud/guides/data-sources/cloud-endpoints-api) to your IP allow list.

Services in the Google Cloud regions listed in the Google Cloud table below use those Google Cloud IPs only if the service did not contain pre-existing ClickPipes prior to June 15th, 2026. Services in those regions with pre-existing ClickPipes prior to June 15th, 2026 continue to use the default region IPs listed below.

For other services, ClickPipes traffic will originate from a default region based on your service's location:

* **eu-central-1**: For all EU regions not explicitly listed, plus Azure EU regions and Google Cloud EU services with pre-existing ClickPipes prior to June 15th, 2026.
* **eu-west-1**: For all services in AWS `eu-west-1` created on or after 20 Jan 2026 (services created before this date use `eu-central-1` IPs).
* **us-east-1**: For all services in AWS `us-east-1`.
* **ap-south-1**: For services in AWS `ap-south-1` created on or after 25 Jun 2025 (services created before this date use `us-east-2` IPs).
* **ap-northeast-2**: For services in AWS `ap-northeast-2` created on or after 14 Nov 2025 (services created before this date use `us-east-2` IPs).
* **af-south-1**: For services in AWS `af-south-1` created on or after 15 Apr 2026 (services created before this date use `us-east-2` IPs).
* **ap-east-1**: For services in AWS `ap-east-1` created on or after 15 Apr 2026 (services created before this date use `us-east-2` IPs).
* **ap-northeast-1**: For services in AWS `ap-northeast-1` created on or after 15 Apr 2026 (services created before this date use `us-east-2` IPs).
* **ap-southeast-1**: For services in AWS `ap-southeast-1` created on or after 18 Mar 2026 (services created before this date use `us-east-2` IPs).
* **ap-southeast-2**: For services in AWS `ap-southeast-2` created on or after 25 Jun 2025 (services created before this date use `us-east-2` IPs).
* **ap-southeast-3**: For services in AWS `ap-southeast-3` created on or after 6 Mar 2026 (services created before this date use `us-east-2` IPs).
* **ca-central-1**: For services in AWS `ca-central-1` created on or after 15 Apr 2026 (services created before this date use `us-east-2` IPs).
* **eu-north-1**: For services in AWS `eu-north-1` created on or after 15 Apr 2026 (services created before this date use `eu-central-1` IPs).
* **eu-west-2**: For services in AWS `eu-west-2` created on or after 15 Apr 2026 (services created before this date use `eu-central-1` IPs).
* **il-central-1**: For services in AWS `il-central-1` created on or after 15 Apr 2026 (services created before this date use `us-east-2` IPs).
* **mx-central-1**: For services in AWS `mx-central-1` created on or after 19 May 2026 (services created before this date use `us-east-2` IPs).
* **sa-east-1**: For services in AWS `sa-east-1` created on or after 15 Apr 2026 (services created before this date use `us-east-2` IPs).
* **us-west-2**: For services in AWS `us-west-2` created on or after 24 Jun 2025 (services created before this date use `us-east-2` IPs).
* **us-east-2**: For all other regions that do not match a rule above, including Azure regions and Google Cloud services with pre-existing ClickPipes prior to June 15th, 2026.

<h3 id="aws-static-nat-ips">
  AWS static NAT IPs
</h3>

| AWS region                                        | IP Addresses                                                                                                                                |
| ------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- |
| **eu-central-1** - Frankfurt                      | `18.195.233.217`, `3.127.86.90`, `35.157.23.2`, `18.197.167.47`, `3.122.25.29`, `52.28.148.40`                                              |
| **eu-west-1** - Ireland (from 20 Jan 2026)        | `54.228.1.92` , `54.72.101.254`, `54.228.16.208`, `54.76.200.104`, `52.211.2.177`, `54.77.10.134`                                           |
| **us-east-1** - N. Virginia                       | `54.82.38.199`, `3.90.133.29`, `52.5.177.8`, `3.227.227.145`, `3.216.6.184`, `54.84.202.92`, `3.131.130.196`, `3.23.172.68`, `3.20.208.150` |
| **us-east-2** - Ohio                              | `3.131.130.196`, `3.23.172.68`, `3.20.208.150`, `3.132.20.192`, `18.119.76.110`, `3.134.185.180`                                            |
| **ap-south-1** - Mumbai (from 25 Jun 2025)        | `13.203.140.189`, `13.232.213.12`, `13.235.145.208`, `35.154.167.40`, `65.0.39.245`, `65.1.225.89`                                          |
| **ap-northeast-2** - Seoul (from 14 Nov 2025)     | `3.38.68.69`, `52.78.68.128`, `13.209.152.13`, `3.38.24.84`, `3.37.159.31`, `3.34.25.104`                                                   |
| **ap-southeast-1** - Singapore (from 18 Mar 2026) | `13.215.65.134`, `18.139.118.108`, `47.130.197.47`, `54.251.134.219`, `54.254.98.29`, `54.255.153.106`                                      |
| **ap-southeast-2** - Sydney (from 25 Jun 2025)    | `3.106.48.103`, `52.62.168.142`, `13.55.113.162`, `3.24.61.148`, `54.206.77.184`, `54.79.253.17`                                            |
| **af-south-1** - Cape Town (from 15 Apr 2026)     | `13.245.187.24`, `15.240.60.178`, `15.240.81.191`, `13.245.25.101`, `13.245.91.225`, `15.240.54.195`                                        |
| **ap-east-1** - Hong Kong (from 15 Apr 2026)      | `18.166.168.168`, `43.199.224.85`, `95.40.0.242`, `16.162.107.229`, `43.199.125.240`, `54.46.86.27`                                         |
| **ap-northeast-1** - Tokyo (from 15 Apr 2026)     | `54.168.88.92`, `35.76.97.79`, `54.64.100.89`, `54.178.40.17`, `52.195.101.208`, `13.193.109.245`                                           |
| **ap-southeast-1** - Singapore (from 18 Mar 2026) | `47.130.197.47`, `54.251.134.219`, `18.139.118.108`, `54.255.153.106`, `54.254.98.29`, `13.215.65.134`                                      |
| **ap-southeast-3** - Jakarta (from 6 Mar 2026)    | `16.78.195.195`, `43.218.184.235`, `16.79.88.54`, `16.78.153.162`, `16.79.6.125`, `108.137.52.155`                                          |
| **ca-central-1** - Canada (from 15 Apr 2026)      | `52.60.123.235`, `3.97.222.98`, `3.99.62.248`, `15.223.61.186`, `3.96.255.101`, `3.97.29.96`                                                |
| **eu-north-1** - Stockholm (from 15 Apr 2026)     | `13.63.1.65`, `16.171.127.30`, `56.228.76.44`, `13.63.101.248`, `16.170.124.188`, `13.60.109.201`                                           |
| **eu-west-2** - London (from 15 Apr 2026)         | `13.134.82.158`, `16.60.209.167`, `18.134.221.203`, `16.60.139.176`, `13.43.66.75`, `3.11.78.183`                                           |
| **il-central-1** - Tel Aviv (from 15 Apr 2026)    | `16.164.25.13`, `51.84.162.29`, `51.85.90.183`, `51.84.36.146`, `51.84.72.29`, `51.85.28.184`                                               |
| **mx-central-1** - Mexico (from 19 May 2026)      | `78.12.67.220`, `78.12.117.175`, `78.13.186.238`, `78.13.219.184`, `78.13.224.212`, `78.13.248.162`                                         |
| **sa-east-1** - São Paulo (from 15 Apr 2026)      | `18.230.164.131`, `56.126.1.234`, `18.230.39.24`, `15.229.102.116`, `18.230.174.204`, `18.229.237.116`                                      |
| **us-west-2** - Oregon (from 24 Jun 2025)         | `52.42.100.5`, `44.242.47.162`, `52.40.44.52`, `44.227.206.163`, `44.246.241.23`, `35.83.230.19`                                            |

<h3 id="google-cloud-static-nat-ips">
  Google Cloud static NAT IPs
</h3>

| Google Cloud region                                | IP Addresses                                                                          |
| -------------------------------------------------- | ------------------------------------------------------------------------------------- |
| **asia-northeast1** - Tokyo (from 27 May 2026)     | `104.198.114.210`, `35.221.66.81`, `35.243.126.127`, `136.110.107.86`, `34.85.18.112` |
| **asia-southeast1** - Singapore (from 27 May 2026) | `34.21.197.28`, `35.197.141.23`, `35.197.157.90`, `136.110.17.200`, `35.185.179.231`  |
| **europe-west2** - London (from 27 May 2026)       | `35.242.131.178`, `34.39.77.101`, `34.39.47.179`, `34.89.53.234`, `8.228.63.151`      |
| **europe-west4** - Netherlands (from 27 May 2026)  | `34.34.86.3`, `34.6.175.56`, `34.178.6.187`, `34.91.204.220`, `34.12.85.206`          |
| **us-central1** - Iowa (from 27 May 2026)          | `34.28.24.54`, `34.42.56.195`, `34.63.141.9`, `35.238.146.37`, `34.10.251.49`         |
| **us-east1** - South Carolina (from 27 May 2026)   | `34.24.134.232`, `34.24.214.165`, `34.24.20.1`, `35.243.193.248`, `34.23.98.76`       |

<h2 id="adjusting-clickhouse-settings">
  Adjusting ClickHouse settings
</h2>

ClickHouse Cloud provides sensible defaults for most of the use cases. However, if you need to adjust some ClickHouse settings for the ClickPipes destination tables, a dedicated role for ClickPipes is the most flexible solution.
Steps:

1. create a custom role `CREATE ROLE my_clickpipes_role SETTINGS ...`. See [CREATE ROLE](/reference/statements/create/role) syntax for details.
2. add the custom role to ClickPipes user on step `Details and Settings` during the ClickPipes creation.

<Image img="https://mintcdn.com/private-7c7dfe99-mintlify-fbfa8bee/2Zeerd64Tl5ZAQUa/images/integrations/data-ingestion/clickpipes/cp_custom_role.png?fit=max&auto=format&n=2Zeerd64Tl5ZAQUa&q=85&s=141cae22680eb553fd6683306a767e02" alt="Assign a custom role" size="lg" border width="1744" height="470" data-path="images/integrations/data-ingestion/clickpipes/cp_custom_role.png" />

<h2 id="clickpipes-advanced-settings">
  Adjusting ClickPipes advanced settings
</h2>

ClickPipes provides sensible defaults that cover the requirements of most use cases. If your use case requires additional fine-tuning, you can adjust the following settings:

<h3 id="clickpipes-advanced-settings-object-storage">
  Object storage ClickPipes
</h3>

| Setting                              | Default value | Description                                                                                                                                        |
| ------------------------------------ | ------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- |
| `Max insert bytes`                   | 10 GB         | Number of bytes to process in a single insert batch.                                                                                               |
| `Max file count`                     | 100           | Maximum number of files to process in a single insert batch.                                                                                       |
| `Max threads`                        | auto(3)       | [Maximum number of concurrent threads](/reference/settings/session-settings#max_threads) for file processing.                                      |
| `Max insert threads`                 | 1             | [Maximum number of concurrent insert threads](/reference/settings/session-settings#max_insert_threads) for file processing.                        |
| `Min insert block size bytes`        | 1 GB          | [Minimum size of bytes in the block](/reference/settings/session-settings#min_insert_block_size_bytes) which can be inserted into a table.         |
| `Max download threads`               | 4             | [Maximum number of concurrent download threads](/reference/settings/session-settings#max_download_threads).                                        |
| `Object storage polling interval`    | 30 s          | Configures the maximum wait period before inserting data into the ClickHouse cluster.                                                              |
| `Parallel distributed insert select` | 2             | [Parallel distributed insert select setting](/reference/settings/session-settings#parallel_distributed_insert_select).                             |
| `Parallel view processing`           | false         | Whether to enable pushing to attached views [concurrently instead of sequentially](/reference/settings/session-settings#parallel_view_processing). |
| `Use cluster function`               | true          | Whether to process files in parallel across multiple nodes.                                                                                        |

<Image img="https://mintcdn.com/private-7c7dfe99-mintlify-fbfa8bee/2Zeerd64Tl5ZAQUa/images/integrations/data-ingestion/clickpipes/cp_advanced_settings.png?fit=max&auto=format&n=2Zeerd64Tl5ZAQUa&q=85&s=d0829308b985bf669322e62db433d2e3" alt="Advanced settings for ClickPipes" size="lg" border width="1724" height="620" data-path="images/integrations/data-ingestion/clickpipes/cp_advanced_settings.png" />

<h3 id="clickpipes-advanced-settings-streaming">
  Streaming ClickPipes
</h3>

| Setting                          | Default value | Description                                                                           |
| -------------------------------- | ------------- | ------------------------------------------------------------------------------------- |
| `Streaming max insert wait time` | 5 s           | Configures the maximum wait period before inserting data into the ClickHouse cluster. |

<h2 id="error-reporting">
  Error reporting
</h2>

ClickPipes will store errors in two separate tables depending on the type of error encountered during the ingestion process.

<h3 id="record-errors">
  Record errors
</h3>

ClickPipes will create a table next to your destination table with the postfix `<destination_table_name>_clickpipes_error`. This table will contain any errors from malformed data or mismatched schema and will include the entirety of the invalid message. This table has a [TTL](/reference/engines/table-engines/mergetree-family/mergetree#table_engine-mergetree-ttl) of 7 days.

<h3 id="system-errors">
  System errors
</h3>

Errors related to the operation of the ClickPipe will be stored in the `system.clickpipes_log` table. This will store all other errors related to the operation of your ClickPipe (network, connectivity, etc.). This table has a [TTL](/reference/engines/table-engines/mergetree-family/mergetree#table_engine-mergetree-ttl) of 7 days.

If ClickPipes can't connect to a data source after 15 min or to a destination after 1 hr, the ClickPipes instance stops and stores an appropriate message in the system error table (provided the ClickHouse instance is available).

<h2 id="monitoring">
  Monitoring
</h2>

In addition to in-console monitoring, ClickPipes exposes metrics to a [Prometheus-compatible endpoint](/products/cloud/features/monitoring/prometheus) for scraping. These metrics are published with other ClickHouse Cloud service metrics, and allow you to integrate ClickPipes monitoring with your existing observability stack (e.g., [Grafana](/products/cloud/features/monitoring/prometheus#integrating-with-grafana), [Datadog](/products/cloud/features/monitoring/prometheus#integrating-with-datadog)). See [Monitoring ClickPipes](/integrations/clickpipes/monitoring) for the full list of available metrics.

<h2 id="faq">
  FAQ
</h2>

* **What is ClickPipes?**

  ClickPipes is a ClickHouse Cloud feature that makes it easy for you to connect your ClickHouse services to external data sources, specifically Kafka. With ClickPipes for Kafka, you can easily continuously load data into ClickHouse, making it available for real-time analytics.

* **Does ClickPipes support data transformation?**

  Yes, ClickPipes supports basic data transformation by exposing the DDL creation. You can then apply more advanced transformations to the data as it is loaded into its destination table in a ClickHouse Cloud service leveraging ClickHouse's [materialized views feature](/concepts/features/materialized-views/cascading-materialized-views).

* **Does using ClickPipes incur an additional cost?**

  ClickPipes is billed on two dimensions: Ingested Data and Compute. The full details of the pricing are available on [this page](/products/cloud/reference/billing/clickpipes/index). Running ClickPipes might also generate an indirect compute and storage cost on the destination ClickHouse Cloud service similar to any ingest workload.

* **Is there a way to handle errors or failures when using ClickPipes for Kafka?**

  Yes, ClickPipes for Kafka will automatically retry in the event of failures when consuming data from Kafka for any operational issue including network issues, connectivity issues, etc. In the event of malformed data or invalid schema, ClickPipes will store the record in the record\_error table and continue processing.
