The Kafka Connect Transformation interface defines how a component modifies records as they pass through a connector. A custom transformation is useful when built-in transformations cannot reduce a record to the required fields. section 5.6.3
Implementations typically handle these responsibilities:
- Support transformation of either the record key or value through Key and Value inner classes. section 5.6.3
Extracting stock metrics
A stock API record contains more than 70 metrics, but a connector needs only five or six. Configure a comma-separated field list, then filter either its map value or structured value and return a new record. section 5.6.3
