org.apache.kafka.connect.transforms.InsertField$Key
) or value (org.apache.kafka.connect.transforms.InsertField$Value
).
Name | Description | Type | Default | Valid Values | Importance |
---|---|---|---|---|---|
offset.field | Field name for Kafka offset - only applicable to sink connectors. Suffix with ! to make this a required field, or ? to keep it optional (the default). | string | null | medium | |
partition.field | Field name for Kafka partition. Suffix with ! to make this a required field, or ? to keep it optional (the default). | string | null | medium | |
static.field | Field name for static data field. Suffix with ! to make this a required field, or ? to keep it optional (the default). | string | null | medium | |
static.value | Static field value, if field name configured. | string | null | medium | |
timestamp.field | Field name for record timestamp. Suffix with ! to make this a required field, or ? to keep it optional (the default). | string | null | medium | |
topic.field | Field name for Kafka topic. Suffix with ! to make this a required field, or ? to keep it optional (the default). | string | null | medium |
org.apache.kafka.connect.transforms.ReplaceField$Key
) or value (org.apache.kafka.connect.transforms.ReplaceField$Value
).
Name | Description | Type | Default | Valid Values | Importance |
---|---|---|---|---|---|
blacklist | Fields to exclude. This takes precedence over the whitelist. | list | "" | medium | |
renames | Field rename mappings. | list | "" | list of colon-delimited pairs, e.g. foo:bar,abc:xyz | medium |
whitelist | Fields to include. If specified, only these fields will be used. | list | "" | medium |
org.apache.kafka.connect.transforms.MaskField$Key
) or value (org.apache.kafka.connect.transforms.MaskField$Value
).
Name | Description | Type | Default | Valid Values | Importance |
---|---|---|---|---|---|
fields | Names of fields to mask. | list | non-empty list | high |
Name | Description | Type | Default | Valid Values | Importance |
---|---|---|---|---|---|
fields | Field names on the record value to extract as the record key. | list | non-empty list | high |
org.apache.kafka.connect.transforms.HoistField$Key
) or value (org.apache.kafka.connect.transforms.HoistField$Value
).
Name | Description | Type | Default | Valid Values | Importance |
---|---|---|---|---|---|
field | Field name for the single field that will be created in the resulting Struct or Map. | string | medium |
org.apache.kafka.connect.transforms.ExtractField$Key
) or value (org.apache.kafka.connect.transforms.ExtractField$Value
).
Name | Description | Type | Default | Valid Values | Importance |
---|---|---|---|---|---|
field | Field name to extract. | string | medium |
org.apache.kafka.connect.transforms.SetSchemaMetadata$Key
) or value (org.apache.kafka.connect.transforms.SetSchemaMetadata$Value
) schema.
Name | Description | Type | Default | Valid Values | Importance |
---|---|---|---|---|---|
schema.name | Schema name to set. | string | null | high | |
schema.version | Schema version to set. | int | null | high |
Name | Description | Type | Default | Valid Values | Importance |
---|---|---|---|---|---|
timestamp.format | Format string for the timestamp that is compatible with java.text.SimpleDateFormat . | string | yyyyMMdd | high | |
topic.format | Format string which can contain ${topic} and ${timestamp} as placeholders for the topic and timestamp, respectively. | string | ${topic}-${timestamp} | high |
java.util.regex.Pattern
. If the pattern matches the input topic, java.util.regex.Matcher#replaceFirst()
is used with the replacement string to obtain the new topic.
Name | Description | Type | Default | Valid Values | Importance |
---|---|---|---|---|---|
regex | Regular expression to use for matching. | string | valid regex | high | |
replacement | Replacement string. | string | high |