You are viewing documentation for an older version of Confluent Platform. For the latest, click here.
Cast fields or the entire key or value to a specific type. For example, this can be used to force an integer field into an integer of smaller width. Only simple primitive types are supported, such as integer, float, boolean, and string.
Use the concrete transformation type designed for the record key (
org.apache.kafka.connect.transforms.Cast$Key) or value (
You can configure Java streams applications to deserialize and ingest data in multiple ways, including Kafka console producers, JDBC source connectors, and Java client producers. For full code examples, see connect-streams-pipeline.
||A single type to cast the entire value, or for Maps and Structs the comma-separated list of field names and the type to which they should be cast, of the form
||list||comma-separated list of colon-delimited pairs of field:type, e.g.