You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add a transform that parse a string field into other primitive values or into array, such as: int, long, float, double, boolean (or an array of one of these).
Add a transform that parse a string field into other primitive values or into array, such as:
int
,long
,float
,double
,boolean
(or anarray
of one of these).Configuration
transforms.<name>.type
- One of:com.github.jcustenborder.kafka.connect.transform.common.ParseString$Key
com.github.jcustenborder.kafka.connect.transform.common.ParseString$Value
transforms.<name>.fields
-field1,field2,...
transforms.<name>.type
- One of:int
,long
,float
,double
,boolean
transforms.<name>.isArray
-true
orfalse
(Default tofalse
)Examples
Example 1
If the source contains
Then after applying the following transformation:
The result will be:
Example 2 - Array
If the source contains
Then after applying the following transformation:
The result will be:
Example 3 - Multiple Fields
If the source contains
Then after applying the following transformation:
The result will be:
Example 4 - Supporting Avro
null
valuesIf the source contains
Then after applying the following transformation:
The result will be:
The text was updated successfully, but these errors were encountered: