Connect catalog

Kafka Connect is a framework for connecting Apache Kafka to external systems. It uses source connectors to move data into Apache Kafka, and sink connectors to move data out of Apache Kafka.

The connect catalog contains a list of connectors, converters, and transformations that are supported either by IBM or the relevant community:

  • IBM supported: Each IBM supported connector is subject to its own license terms. Support is provided by IBM for customers who have a license and active software subscription and support entitlement for IBM Event Automation or IBM Cloud Pak for Integration. Raise any issues through the official IBM support channel. In accordance with IBM's standard support terms, IBM will investigate, identify, and provide a fix when possible.
  • Community supported: Where not identified as IBM supported, each community supported connector is subject to its own set of license terms and not supported by IBM. Raise issues through the community support links provided for each connector.

Connect catalog

Kafka Connect is a framework for connecting Apache Kafka to external systems. It uses source connectors to move data into Apache Kafka, and sink connectors to move data out of Apache Kafka.

The connect catalog contains a list of connectors, converters, and transformations that are supported either by IBM or the relevant community:

  • IBM supported: Each IBM supported connector is subject to its own license terms. Support is provided by IBM for customers who have a license and active software subscription and support entitlement for IBM Event Automation or IBM Cloud Pak for Integration. Raise any issues through the official IBM support channel. In accordance with IBM's standard support terms, IBM will investigate, identify, and provide a fix when possible.
  • Community supported: Where not identified as IBM supported, each community supported connector is subject to its own set of license terms and not supported by IBM. Raise issues through the community support links provided for each connector.

Filter is active

Filter by support provider

Download Icon
Download Icon
Download Icon
Download Icon
Download Icon
Download Icon
Download Icon
Download Icon
Download Icon
Download Icon
Download Icon
Download Icon
Download Icon
Download Icon
Github Logo
Download Icon
Download Icon
Download Icon
Download Icon
Download Icon
Download Icon
Download Icon
Download Icon
Github Logo
Github Logo
Download Icon
Github Logo
Github Logo
Download Icon
Download Icon
Download Icon
Download Icon
Download Icon
Download Icon
Github Logo
Download Icon
Download Icon
Download Icon
Download Icon
Download Icon
Github Logo
Download Icon
Download Icon
Download Icon
Download Icon
Download Icon
Github Logo
Download Icon
Download Icon
Download Icon
Github Logo
Download Icon
Download Icon
Download Icon
Download Icon
Download Icon
Download Icon
Download Icon
Download Icon
Download Icon
Download Icon

No connectors can be found matching your filters

Have a connector you want added to our catalog?
Loading

Loading

Loading

Loading

Support is provided by the community

C

Transformation: transforms data from Kafka or Event Streams

Cast

You can cast fields or the entire key or value to a specific type, such as forcing an integer field to a smaller width. Casting is supported from integers, floats, booleans, and strings to any other type, as well as from binary to string (base64 encoded).

The Cast transformation is a Single Message Transform (SMT) for Kafka Connect that you can use to modify the data type of a field in your data. This transformation is useful when adapting data types to meet the requirements of your sink system or rectifying inconsistencies in your source data.

The following parameters are required to configure the Cast transformation:

  • type: Specifies the type of record to apply the transformation to. Use org.apache.kafka.connect.transforms.Cast$Key to apply the transformation to record keys, or org.apache.kafka.connect.transforms.Cast$Value to apply the transformation to record values.
  • spec: Provides a comma-separated list of field mappings where each mapping is in the format of [field_name]:[data_type], and [data_type] can be int8, int16, int32, int64, float32, float64, boolean, or string.

To use the Cast transformation in your Kafka Connect pipeline, add the Cast transformation to your connector configuration as follows:

transforms=cast
transforms.cast.type=org.apache.kafka.connect.transforms.Cast$Value
transforms.cast.spec=[field_name]:[data_type],[field_name]:[data_type],...

Examples

  • Example 1: Casting a single field

    To cast the age field from string to int32:

      transforms=cast
      transforms.cast.type=org.apache.kafka.connect.transforms.Cast$Value
      transforms.cast.spec=age:int32
    
  • Example 2: Casting multiple fields

    To cast age to int32 and price to float64:

      transforms=cast
      transforms.cast.type=org.apache.kafka.connect.transforms.Cast$Value
      transforms.cast.spec=age:int32,price:float64
    
  • Example 3: Casting the entire value

    To cast the entire value to string (primitive types):

      transforms=cast
      transforms.cast.type=org.apache.kafka.connect.transforms.Cast$Value
      transforms.cast.spec=string
    
Loading

Loading