conduktor.io ↗

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

AuthorEwen Cheslack-Postava
StatusDiscussion
JIRAKAFKA-5575
WikiView on Apache Wiki
Created2017-08-30
Last Modified2017-08-30
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.