Types

<< Click to Display Table of Contents >>

Navigation:  Connectors > Apache Kafka >

Types

 

Kafka type mappings are not fully automatic, as the system does not provide the necessary metadata.

Instead, the user needs to decide how the keys and message bodies of Kafka records will be (de)serialized by DTS. This will also reflect in the data types provided to the consumers.

At this time, DTS support two types of (de)serialization for Kafka objects.

Kafka Deserializer

DTS Type

org.apache.kafka.common.serialization.StringDeserializer

STRING

org.apache.kafka.common.serialization.ByteArrayDeserializer

BYTE VECTOR