I'm using the Confluent JDBCSourceConnector to read from an Oracle table. I am trying to use SMT to generate a key composed of 3 concatenated fields.
transforms=createKey
transforms.createKey.type=org.apache.kafka.connect.transforms.ValueToKey
transforms.createKey.fields=BUS_OFC_ID_CD,SO_TYPE,SO_NO
Using the above transformation, I get something like this:
{"BUS_OFC_ID_CD":"111","SO_TYPE":"I","SO_NO":"55555"}
I would like something like:
111I55555
Any idea on how I could concatenate the values only?