conduktor.io ↗

KIP-481 — SerDe Improvements for Connect Decimal type in JSON

Accepted Kafka 2.4 Connect

Adds a `decimal.format` configuration to the `JsonConverter` (values: `BASE64`, `NUMERIC`) so that Connect Decimal schema fields can be serialized as human-readable decimal strings (e.g., `10.2345`) in addition to the existing BASE64-encoded binary representation. All existing JSON systems represent decimals as numeric strings, making Connect's BASE64 encoding incompatible with any JSON consumer that is not Kafka Connect–aware.

Details

AuthorAlmog Gavra
StatusAccepted
Kafka Version2.4
JIRAKAFKA-8595
WikiView on Apache Wiki
Created2019-06-24
Last Modified2019-09-17
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.