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