Kafka Connector > Data type reference > Avro data types and transformation data types
  

Avro data types and transformation data types

Avro data types map to transformation data types that the Secure Agent uses to move data across platforms.
The following table lists the Avro data types that Data Integration supports for Kafka source and targets and the corresponding transformation data types:
Avro Kafka Data Type
Transformation Data Type
Range and Description
Boolean
Integer
TRUE (1) or FALSE (0)
Double
Double
Precision 15
Float
Double
Precision 15
Int
Integer
-2,147,483,648 to 2,147,483,647
Precision 10, scale 0
Long
Bigint
-9,223,372,036,854,775,808 to 9,223,372,036,854,775,807
Precision 19, scale 0
Map¹
Map
Unlimited number of characters
Record¹
Struct
Unlimited number of characters
String
String
1 to 104,857,600 characters
Default precision is 256. You can increase the value up to 104857600 characters.
Union¹
Corresponding data type in a union of ["primitive_type|complex_type", "null"] or ["null", "primitive_type|complex_type"]
Dependent on primitive or complex data type.
¹Does not apply when you use the Confluent schema registry to import Avro metadata.