ChangeTopicCase

com.github.jcustenborder.kafka.connect.transform.common.ChangeTopicCase

This transformation is used to change the case of a topic.

Tip

This transformation will convert a topic name like ‘TOPIC_NAME’ to topicName, or topic_name.

Configuration

General

from

The format of the incoming topic name. LOWER_CAMEL = Java variable naming convention, e.g., “lowerCamel”. LOWER_HYPHEN = Hyphenated variable naming convention, e.g., “lower-hyphen”. LOWER_UNDERSCORE = C++ variable naming convention, e.g., “lower_underscore”. UPPER_CAMEL = Java and C++ class naming convention, e.g., “UpperCamel”. UPPER_UNDERSCORE = Java and C++ constant naming convention, e.g., “UPPER_UNDERSCORE”.

Importance: HIGH

Type: STRING

Validator: Matches: LOWER_HYPHEN, LOWER_UNDERSCORE, LOWER_CAMEL, UPPER_CAMEL, UPPER_UNDERSCORE

to

The format of the outgoing topic name. LOWER_CAMEL = Java variable naming convention, e.g., “lowerCamel”. LOWER_HYPHEN = Hyphenated variable naming convention, e.g., “lower-hyphen”. LOWER_UNDERSCORE = C++ variable naming convention, e.g., “lower_underscore”. UPPER_CAMEL = Java and C++ class naming convention, e.g., “UpperCamel”. UPPER_UNDERSCORE = Java and C++ constant naming convention, e.g., “UPPER_UNDERSCORE”.

Importance: HIGH

Type: STRING

Validator: Matches: LOWER_HYPHEN, LOWER_UNDERSCORE, LOWER_CAMEL, UPPER_CAMEL, UPPER_UNDERSCORE