KIP-305 — Add Connect primitive number converters
Accepted Kafka 2.0 Connect
Adds IntegerConverter, LongConverter, FloatConverter, DoubleConverter, and ShortConverter to Kafka Connect's built-in converter library, enabling numeric primitives as record keys or values without JSON or Avro overhead. Connect had String and bytes converters but no primitive numeric converters, forcing connector authors to implement their own or convert numbers to strings.
Details
| Author | Randall Hauch |
| Status | Accepted |
| Kafka Version | 2.0 |
| JIRA | KAFKA-6913 |
| Wiki | View on Apache Wiki |
| Created | 2018-05-17 |
| Last Modified | 2018-05-30 |
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.