Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-4769

Add Float serializer, deserializer, serde

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 0.10.1.1, 0.10.2.0
    • 0.11.0.0
    • clients
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              miguno Michael G. Noll
              miguno Michael G. Noll
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: