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
| Author | Almog Gavra |
| Status | Accepted |
| Kafka Version | 2.4 |
| JIRA | KAFKA-8595 |
| Wiki | View on Apache Wiki |
| Created | 2019-06-24 |
| Last Modified | 2019-09-17 |
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.