[ https://issues.apache.org/jira/browse/KAFKA-4769?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15869281#comment-15869281 ]
ASF GitHub Bot commented on KAFKA-4769: --------------------------------------- GitHub user miguno opened a pull request: https://github.com/apache/kafka/pull/2554 KAFKA-4769: Add Float serializer, deserializer, serde You can merge this pull request into a Git repository by running: $ git pull https://github.com/miguno/kafka KAFKA-4769 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/kafka/pull/2554.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #2554 ---- commit 6c1be74b5926e93ddca1cc44c733b63f63e6346b Author: Michael G. Noll <mich...@confluent.io> Date: 2017-02-16T05:33:14Z KAFKA-4769: Add Float serializer, deserializer, serde ---- > Add Float serializer, deserializer, serde > ----------------------------------------- > > Key: KAFKA-4769 > URL: https://issues.apache.org/jira/browse/KAFKA-4769 > Project: Kafka > Issue Type: Improvement > Components: clients > Affects Versions: 0.10.1.1, 0.10.2.0 > Reporter: Michael Noll > Assignee: Michael Noll > Priority: Minor > > We currently provide serializers/deserializers/serdes for a few data types > such as String, Long, Double, but not yet for Float. > Adding built-in support Float is helpful for when e.g. you are using Kafka > Connect to write data from a MySQL database, where the field was defined as a > FLOAT, so the schema was generated as FLOAT, and you like to subsequently > process the data with Kafka Streams. > Possible workaround: > Instead of adding Float support, users can manually convert from float to > double. The point of this ticket however is to save the user from being > forced to convert manually, thus providing more convenience and slightly > better Connect-Streams interoperability in a scenario such as above. -- This message was sent by Atlassian JIRA (v6.3.15#6346)