HoistField

Description

If the data has a schema, wrap data using the specified field name in a Struct; if the data does not have a schema, wrap data using the specified field name in a Map.

Use the concrete transformation type designed for the record key (org.apache.kafka.connect.transforms.HoistField$Key) or value (org.apache.kafka.connect.transforms.HoistField$Value).

Properties

Name Description Type Default Valid Values Importance
fields Field name for the single field that will be created in the resulting Struct or Map. list   non-empty list medium