KIP-193 — Add SchemaBuilder.from(Schema)
Discussion Connect
KIP-193 adds `SchemaBuilder.from(Schema)` to the Kafka Connect API, returning a new `SchemaBuilder` pre-populated with all fields from an existing schema. Writing SMTs that enrich a record's schema requires copying every field from the original schema manually; the helper method eliminates the boilerplate for the common case of adding or removing a small number of fields.
Details
| Author | Ewen Cheslack-Postava |
| Status | Discussion |
| JIRA | KAFKA-5575 |
| Wiki | View on Apache Wiki |
| Created | 2017-08-30 |
| Last Modified | 2017-08-30 |
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.