KIP-301 — Schema Inferencing for JsonConverter
Discussion Connect
KIP-301 adds schema inference to `JsonConverter` in Kafka Connect, allowing it to automatically derive a Connect schema from arbitrary JSON payloads when `schemas.enable=false`. Without schema inference, `JsonConverter` with `schemas.enable=true` requires the specific `{schema, payload}` envelope format and rejects plain JSON, while `schemas.enable=false` produces schemaless `Struct` objects that downstream SMTs and converters cannot inspect structurally.
Details
| Author | Allen Tang |
| Status | Discussion |
| JIRA | KAFKA-6895 |
| Wiki | View on Apache Wiki |
| Created | 2018-05-12 |
| Last Modified | 2018-05-15 |
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.