title: How to transform more than 1 field in Kafka Connect?
body: <p>I am using a Kafka Connect Sink config to get data from a topic and persist to an Oracle DB. Works like a champ, and I'm doing a transformation on a timestamp column that comes in via an Avro schema as a long, and I then transform to an Oracle Timestamp column. </p>
  
  <pre><code>"transforms": "TimestampConverter",
  "transforms.TimestampConverter.type": "org.apache.kafka.connect.transforms.TimestampConverter$Value",
  "transforms.TimestampConverter.format": "mm/dd/yyyy HH:mm:ss",
  "transforms.TimestampConverter.target.type": "Timestamp",
  "transforms.TimestampConverter.field": "created_ts"
  </code></pre>
  
  <p>But, I can't figure out how to do this on multiple timestamps. That is, in addition to the created_ts, I also have an updated_ts I need to transform. </p>
  
  <p>I tried this: </p>
  
  <pre><code>"transforms.TimestampConverter.field": "created_ts, updated_ts"
  </code></pre>
  
  <p>Does not work, nor can I repeat the whole block for the other field, because Connect only allows 1 same-named entry. </p>
  
  <p>Lastly, I tried this: </p>
  
  <pre><code>"transforms.TimestampConverter.field.1": "created_ts",
  "transforms.TimestampConverter.field.2": "updated_ts"
  </code></pre>