sink
Kafka Connect Iceberg Sink
The official Apache Iceberg Kafka Connect Sink connector.

Available on
StreamNative Cloud console

Authored by
Tabular
Support type
Community
License
Apache License 2.0

The Apache Iceberg Kafka Connect Sink connector is a Kafka Connect connector that writes data from Kafka topics to Apache Iceberg tables.

Prerequisites

  • Setup the Iceberg Catalog
  • Create the Iceberg connector control topic, which cannot be used by other connectors.

Limitations

  • Each Iceberg sink connector must have its own control topic.

Configuration

The following Required properties are used to configure the connector.

ParameterDescription
topicsComma-separated list of the Kafka topics you want to replicate. (You can define either the topics or the topics.regex setting, but not both.)
topics.regexJava regular expression of topics to replicate. (You can define either the topics or the topics.regex setting, but not both.)
iceberg.control.topicThe name of the control topic. It cannot be used by other Iceberg connectors.
iceberg.catalog.typeThe type of Iceberg catalog. Allowed options are: REST, HIVE, HADOOP.
iceberg.tablesComma-separated list of Iceberg table names, which are specified using the format {namespace}.{table}.

The following Advanced properties are used to configure the connector.

ParameterDescription
iceberg.control.commit.timeout-msCommit timeout interval in ms. The default is 30000 (30 sec).
iceberg.tables.route-fieldFor multi-table fan-out, the name of the field used to route records to tables. Required when iceberg.tables.dynamic-enabled is set to true.
iceberg.tables.cdc-fieldName of the field containing the CDC operation, I, U, or D, default is none

For more information about the properties, see the official documentation.