LOWER_CAMEL to UPPER_UNDERSCORE¶
This example will convert the field names of a schema from upper underscore to lower underscore.
Configuration¶
{
  "transforms" : "changeTopicCase",
  "transforms.changeTopicCase.type" : "com.github.jcustenborder.kafka.connect.transform.common.ChangeTopicCase",
  "transforms.changeTopicCase.from" : "LOWER_CAMEL",
  "transforms.changeTopicCase.to" : "UPPER_UNDERSCORE"
}
Input¶
{
  "topic" : "topicName",
  "kafkaPartition" : 1,
  "timestampType" : "NO_TIMESTAMP_TYPE",
  "offset" : 12345,
  "headers" : [ ]
}
Change(s) in the output are emphasized if delta(s) are detected.
Output¶
{
  "topic" : "TOPIC_NAME",
  "kafkaPartition" : 1,
  "timestampType" : "NO_TIMESTAMP_TYPE",
  "offset" : 12345,
  "headers" : [ ]
}